Class: IRCSupport::Message::Error
- Inherits:
-
IRCSupport::Message
- Object
- IRCSupport::Message
- IRCSupport::Message::Error
- Defined in:
- lib/ircsupport/message.rb
Instance Attribute Summary collapse
-
#error ⇒ String
The error message.
Attributes inherited from IRCSupport::Message
Instance Method Summary collapse
-
#initialize(args) ⇒ Error
constructor
A new instance of Error.
Methods inherited from IRCSupport::Message
Constructor Details
#initialize(args) ⇒ Error
Returns a new instance of Error.
286 287 288 289 |
# File 'lib/ircsupport/message.rb', line 286 def initialize(args) super(args) @error = args[:args][0] end |
Instance Attribute Details
#error ⇒ String
Returns The error message.
283 284 285 |
# File 'lib/ircsupport/message.rb', line 283 def error @error end |