Class: ModSpox::Messages::Outgoing::Kill

Inherits:
Object
  • Object
show all
Defined in:
lib/mod_spox/messages/outgoing/Kill.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#commentObject (readonly)

reason for kill



8
9
10
# File 'lib/mod_spox/messages/outgoing/Kill.rb', line 8

def comment
  @comment
end

#nickObject (readonly)

nick to kill



6
7
8
# File 'lib/mod_spox/messages/outgoing/Kill.rb', line 6

def nick
  @nick
end