Class: ModSpox::Messages::Outgoing::Nick

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

Overview

Give or change nickname

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#nickObject (readonly)

nickname



7
8
9
# File 'lib/mod_spox/messages/outgoing/Nick.rb', line 7

def nick
  @nick
end