Class: Dazeus::Event::Whois

Inherits:
Event
  • Object
show all
Defined in:
lib/dazeus/event/whois.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

#networkObject

Returns the value of attribute network.



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

def network
  @network
end

#nickObject

Returns the value of attribute nick.



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

def nick
  @nick
end

#secureObject

Returns the value of attribute secure.



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

def secure
  @secure
end

#serverObject

Returns the value of attribute server.



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

def server
  @server
end

Instance Method Details

#post_initObject



7
8
9
10
11
12
13
# File 'lib/dazeus/event/whois.rb', line 7

def post_init
  super
  @network = @params[0]
  @server = @params[1]
  @nick = @params[2]
  @secure = @params[3]
end