Class: Cql::Io::EventListenerCommand

Inherits:
Object
  • Object
show all
Defined in:
lib/cql/io/io_reactor.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(listener) ⇒ EventListenerCommand

Returns a new instance of EventListenerCommand.



193
194
195
# File 'lib/cql/io/io_reactor.rb', line 193

def initialize(listener)
  @listener = listener
end

Instance Attribute Details

#listenerObject (readonly)

Returns the value of attribute listener.



191
192
193
# File 'lib/cql/io/io_reactor.rb', line 191

def listener
  @listener
end