Class: IRC::Server::Modules::Base::Utils::Client::Action

Inherits:
Object
  • Object
show all
Defined in:
lib/failirc/server/modules/Base.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#clientObject (readonly)

Returns the value of attribute client.



340
341
342
# File 'lib/failirc/server/modules/Base.rb', line 340

def client
  @client
end

#eventObject (readonly)

Returns the value of attribute event.



340
341
342
# File 'lib/failirc/server/modules/Base.rb', line 340

def event
  @event
end

#onObject (readonly)

Returns the value of attribute on.



340
341
342
# File 'lib/failirc/server/modules/Base.rb', line 340

def on
  @on
end

#stringObject (readonly)

Returns the value of attribute string.



340
341
342
# File 'lib/failirc/server/modules/Base.rb', line 340

def string
  @string
end