Class: ModSpox::Messages::Incoming::NickInUse

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

Instance Attribute Summary collapse

Attributes inherited from Message

#raw_content, #time

Instance Method Summary collapse

Constructor Details

#initialize(raw, nick) ⇒ NickInUse

Returns a new instance of NickInUse.



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

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

Instance Attribute Details

#nickObject (readonly)

nick that is in use (string)



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

def nick
  @nick
end