Class: IRC::Event
- Inherits:
-
Object
- Object
- IRC::Event
- Defined in:
- lib/on_irc/event.rb
Instance Attribute Summary collapse
-
#command ⇒ Object
Returns the value of attribute command.
-
#params ⇒ Object
Returns the value of attribute params.
-
#sender ⇒ Object
Returns the value of attribute sender.
-
#server ⇒ Object
Returns the value of attribute server.
Instance Method Summary collapse
-
#initialize(server, prefix, command, params) ⇒ Event
constructor
A new instance of Event.
Constructor Details
Instance Attribute Details
#command ⇒ Object
Returns the value of attribute command.
3 4 5 |
# File 'lib/on_irc/event.rb', line 3 def command @command end |
#params ⇒ Object
Returns the value of attribute params.
3 4 5 |
# File 'lib/on_irc/event.rb', line 3 def params @params end |
#sender ⇒ Object
Returns the value of attribute sender.
3 4 5 |
# File 'lib/on_irc/event.rb', line 3 def sender @sender end |
#server ⇒ Object
Returns the value of attribute server.
3 4 5 |
# File 'lib/on_irc/event.rb', line 3 def server @server end |