Class: ModSpox::Messages::Incoming::BadNick

Inherits:
Message
  • Object
show all
Defined in:
lib/mod_spox/messages/incoming/BadNick.rb

Instance Attribute Summary collapse

Attributes inherited from Message

#raw_content, #time

Instance Method Summary collapse

Constructor Details

#initialize(raw, nick) ⇒ BadNick

Returns a new instance of BadNick.



8
9
10
11
# File 'lib/mod_spox/messages/incoming/BadNick.rb', line 8

def initialize(raw, nick)
    super(raw)
    @bad_nick = nick
end

Instance Attribute Details

#bad_nickObject (readonly)

nick that failed (string)



7
8
9
# File 'lib/mod_spox/messages/incoming/BadNick.rb', line 7

def bad_nick
  @bad_nick
end