Class: Dazeus::Event::Names

Inherits:
Event
  • Object
show all
Defined in:
lib/dazeus/event/names.rb

Instance Attribute Summary collapse

Attributes inherited from Event

#dazeus, #event, #params

Instance Method Summary collapse

Methods inherited from Event

#initialize

Constructor Details

This class inherits a constructor from Dazeus::Event::Event

Instance Attribute Details

#channelObject

Returns the value of attribute channel.



6
7
8
# File 'lib/dazeus/event/names.rb', line 6

def channel
  @channel
end

#namesObject

Returns the value of attribute names.



6
7
8
# File 'lib/dazeus/event/names.rb', line 6

def names
  @names
end

#networkObject

Returns the value of attribute network.



6
7
8
# File 'lib/dazeus/event/names.rb', line 6

def network
  @network
end

#serverObject

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_initObject



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