Object
This class is used to store and retreive debug information, which is only saved when verbose is set to true.
@api private
# File lib/ethon/easy/debug_info.rb, line 25 def add(type, message) @messages << Message.new(type, message) end
# File lib/ethon/easy/debug_info.rb, line 29 def messages_for(type) @messages.select {|m| m.type == type }.map(&:message) end
Generated with the Darkfish Rdoc Generator 2.