Class: IRCSupport::Message::Ping
- Inherits:
-
IRCSupport::Message
- Object
- IRCSupport::Message
- IRCSupport::Message::Ping
- Defined in:
- lib/ircsupport/message.rb
Instance Attribute Summary collapse
-
#message ⇒ String
The ping message, if any.
Attributes inherited from IRCSupport::Message
Instance Method Summary collapse
-
#initialize(args) ⇒ Ping
constructor
A new instance of Ping.
Methods inherited from IRCSupport::Message
Constructor Details
#initialize(args) ⇒ Ping
Returns a new instance of Ping.
458 459 460 461 462 |
# File 'lib/ircsupport/message.rb', line 458 def initialize(args) super(args) @message = args[:args][0] @message = nil if @message && @message.empty? end |
Instance Attribute Details
#message ⇒ String
Returns The ping message, if any.
455 456 457 |
# File 'lib/ircsupport/message.rb', line 455 def @message end |