Class: Dazeus::Event::Names
- Defined in:
- lib/dazeus/event/names.rb
Instance Attribute Summary collapse
-
#channel ⇒ Object
Returns the value of attribute channel.
-
#names ⇒ Object
Returns the value of attribute names.
-
#network ⇒ Object
Returns the value of attribute network.
-
#server ⇒ Object
Returns the value of attribute server.
Attributes inherited from Event
Instance Method Summary collapse
Methods inherited from Event
Constructor Details
This class inherits a constructor from Dazeus::Event::Event
Instance Attribute Details
#channel ⇒ Object
Returns the value of attribute channel.
6 7 8 |
# File 'lib/dazeus/event/names.rb', line 6 def channel @channel end |
#names ⇒ Object
Returns the value of attribute names.
6 7 8 |
# File 'lib/dazeus/event/names.rb', line 6 def names @names end |
#network ⇒ Object
Returns the value of attribute network.
6 7 8 |
# File 'lib/dazeus/event/names.rb', line 6 def network @network end |
#server ⇒ Object
Returns the value of attribute server.
6 7 8 |
# File 'lib/dazeus/event/names.rb', line 6 def server @server end |
Instance Method Details
#post_init ⇒ Object
8 9 10 11 12 13 14 |
# File 'lib/dazeus/event/names.rb', line 8 def post_init super @network = @params[0] @server = @params[1] @channel = @params[2] @names = @params[3..-1] end |