Class: IRC::Server::Modules::Base::Utils::Client::Action
- Defined in:
- lib/failirc/server/modules/Base.rb
Instance Attribute Summary collapse
-
#client ⇒ Object
readonly
Returns the value of attribute client.
-
#event ⇒ Object
readonly
Returns the value of attribute event.
-
#on ⇒ Object
readonly
Returns the value of attribute on.
-
#string ⇒ Object
readonly
Returns the value of attribute string.
Instance Method Summary collapse
-
#initialize(client, event, string) ⇒ Action
constructor
A new instance of Action.
Constructor Details
#initialize(client, event, string) ⇒ Action
Returns a new instance of Action.
342 343 344 345 346 347 |
# File 'lib/failirc/server/modules/Base.rb', line 342 def initialize (client, event, string) @client = client @event = event @string = string @on = Time.now end |
Instance Attribute Details
#client ⇒ Object (readonly)
Returns the value of attribute client.
340 341 342 |
# File 'lib/failirc/server/modules/Base.rb', line 340 def client @client end |
#event ⇒ Object (readonly)
Returns the value of attribute event.
340 341 342 |
# File 'lib/failirc/server/modules/Base.rb', line 340 def event @event end |
#on ⇒ Object (readonly)
Returns the value of attribute on.
340 341 342 |
# File 'lib/failirc/server/modules/Base.rb', line 340 def on @on end |
#string ⇒ Object (readonly)
Returns the value of attribute string.
340 341 342 |
# File 'lib/failirc/server/modules/Base.rb', line 340 def string @string end |