Class: ModSpox::Messages::Outgoing::Kill
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Kill
- Defined in:
- lib/mod_spox/messages/outgoing/Kill.rb
Instance Attribute Summary collapse
-
#comment ⇒ Object
readonly
reason for kill.
-
#nick ⇒ Object
readonly
nick to kill.
Instance Method Summary collapse
-
#initialize(nick, comment) ⇒ Kill
constructor
- nick
- nick to kill comment
-
comment about kill Kill connection between given nick and server.
Constructor Details
#initialize(nick, comment) ⇒ Kill
- nick
-
nick to kill
- comment
-
comment about kill
Kill connection between given nick and server
12 13 14 15 |
# File 'lib/mod_spox/messages/outgoing/Kill.rb', line 12 def initialize(nick, comment) @nick = nick @comment = comment end |
Instance Attribute Details
#comment ⇒ Object (readonly)
reason for kill
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/Kill.rb', line 8 def comment @comment end |
#nick ⇒ Object (readonly)
nick to kill
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Kill.rb', line 6 def nick @nick end |