Class: ModSpox::Messages::Outgoing::UserHost

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nick) ⇒ UserHost

nick

nick to query

Request host of nick



9
10
11
# File 'lib/mod_spox/messages/outgoing/UserHost.rb', line 9

def initialize(nick)
    @nick = nick
end

Instance Attribute Details

#nickObject (readonly)

nick to query



6
7
8
# File 'lib/mod_spox/messages/outgoing/UserHost.rb', line 6

def nick
  @nick
end