Class: Ethon::Easy::DebugInfo::Message Private

Inherits:
Object
  • Object
show all
Defined in:
lib/ethon/easy/debug_info.rb

This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(type, message) ⇒ Message

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.

Returns a new instance of Message.



16
17
18
19
# File 'lib/ethon/easy/debug_info.rb', line 16

def initialize(type, message)
  @type = type
  @message = message
end

Instance Attribute Details

#messageObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



14
15
16
# File 'lib/ethon/easy/debug_info.rb', line 14

def message
  @message
end

#typeObject (readonly)

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



14
15
16
# File 'lib/ethon/easy/debug_info.rb', line 14

def type
  @type
end