Class: ModSpox::Messages::Outgoing::Lusers

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(mask, target = '') ⇒ Lusers

mask

reply formed only by servers matching given mask

target

reply formed only by target server

Get statistics about size of IRC network



12
13
14
15
# File 'lib/mod_spox/messages/outgoing/Lusers.rb', line 12

def initialize(mask, target='')
    @mask = mask
    @target = target
end

Instance Attribute Details

#maskObject (readonly)

mask for servers to match



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

def mask
  @mask
end

#targetObject (readonly)

reply from target server



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

def target
  @target
end