Class: ModSpox::Messages::Incoming::Quit
- Defined in:
- lib/mod_spox/messages/incoming/Quit.rb
Instance Attribute Summary collapse
-
#message ⇒ Object
readonly
quit message.
-
#nick ⇒ Object
readonly
nick that quit.
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, nick, message) ⇒ Quit
constructor
A new instance of Quit.
Constructor Details
#initialize(raw, nick, message) ⇒ Quit
Returns a new instance of Quit.
10 11 12 13 14 |
# File 'lib/mod_spox/messages/incoming/Quit.rb', line 10 def initialize(raw, nick, ) super(raw) @nick = nick @message = end |
Instance Attribute Details
#message ⇒ Object (readonly)
quit message
9 10 11 |
# File 'lib/mod_spox/messages/incoming/Quit.rb', line 9 def @message end |
#nick ⇒ Object (readonly)
nick that quit
7 8 9 |
# File 'lib/mod_spox/messages/incoming/Quit.rb', line 7 def nick @nick end |