Class: ModSpox::Messages::Incoming::NickInUse
- Defined in:
- lib/mod_spox/messages/incoming/NickInUse.rb
Instance Attribute Summary collapse
-
#nick ⇒ Object
readonly
nick that is in use (string).
Attributes inherited from Message
Instance Method Summary collapse
-
#initialize(raw, nick) ⇒ NickInUse
constructor
A new instance of NickInUse.
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
#nick ⇒ Object (readonly)
nick that is in use (string)
7 8 9 |
# File 'lib/mod_spox/messages/incoming/NickInUse.rb', line 7 def nick @nick end |