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.


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

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.


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

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.


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

def type
  @type
end