Class: ModSpox::Messages::Outgoing::WhoWas

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nick, count = '', target = '') ⇒ WhoWas

nick

nick to whowas

count

number of entries to return

target

target server

Information about a nick that no longer exists



15
16
17
18
19
# File 'lib/mod_spox/messages/outgoing/WhoWas.rb', line 15

def initialize(nick, count='', target='')
    @nick = nick
    @count = count
    @target = target
end

Instance Attribute Details

#countObject (readonly)

number of entries to return



8
9
10
# File 'lib/mod_spox/messages/outgoing/WhoWas.rb', line 8

def count
  @count
end

#nickObject (readonly)

nick to whowas



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

def nick
  @nick
end

#targetObject (readonly)

target server



10
11
12
# File 'lib/mod_spox/messages/outgoing/WhoWas.rb', line 10

def target
  @target
end