Class: ModSpox::Messages::Outgoing::Summon
- Inherits:
-
Object
- Object
- ModSpox::Messages::Outgoing::Summon
- Defined in:
- lib/mod_spox/messages/outgoing/Summon.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
readonly
channel to summon to.
-
#nick ⇒ Object
readonly
nick to summon.
-
#target ⇒ Object
readonly
server nick is on.
Instance Method Summary collapse
-
#initialize(nick, target = '', channel = '') ⇒ Summon
constructor
- nick
- nick to summon target
- server which nick is on channel
-
channel to summon to Summon a user.
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
#channel ⇒ Object (readonly)
channel to summon to
10 11 12 |
# File 'lib/mod_spox/messages/outgoing/Summon.rb', line 10 def channel @channel end |
#nick ⇒ Object (readonly)
nick to summon
6 7 8 |
# File 'lib/mod_spox/messages/outgoing/Summon.rb', line 6 def nick @nick end |
#target ⇒ Object (readonly)
server nick is on
8 9 10 |
# File 'lib/mod_spox/messages/outgoing/Summon.rb', line 8 def target @target end |