Class: ModSpox::Messages::Outgoing::Nick
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Nick
- Defined in:
- lib/mod_spox/messages/outgoing/Nick.rb
Overview
Give or change nickname
Instance Attribute Summary collapse
-
#nick ⇒ Object
readonly
nickname.
Instance Method Summary collapse
-
#initialize(nick) ⇒ Nick
constructor
- nick
-
nickname Create a new Nick.
Constructor Details
#initialize(nick) ⇒ Nick
- nick
-
nickname
Create a new Nick
10 11 12 |
# File 'lib/mod_spox/messages/outgoing/Nick.rb', line 10 def initialize(nick) @nick = nick end |
Instance Attribute Details
#nick ⇒ Object (readonly)
nickname
7 8 9 |
# File 'lib/mod_spox/messages/outgoing/Nick.rb', line 7 def nick @nick end |