Class: ModSpox::Messages::Outgoing::Summon

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(nick, target = '', channel = '') ⇒ Summon

nick

nick to summon

target

server which nick is on

channel

channel to summon to

Summon a user



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

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

Instance Attribute Details

#channelObject (readonly)

channel to summon to



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

def channel
  @channel
end

#nickObject (readonly)

nick to summon



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

def nick
  @nick
end

#targetObject (readonly)

server nick is on



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

def target
  @target
end