Class: Cql::Io::EventListenerCommand
- Inherits:
-
Object
- Object
- Cql::Io::EventListenerCommand
- Defined in:
- lib/cql/io/io_reactor.rb
Instance Attribute Summary collapse
-
#listener ⇒ Object
readonly
Returns the value of attribute listener.
Instance Method Summary collapse
-
#initialize(listener) ⇒ EventListenerCommand
constructor
A new instance of EventListenerCommand.
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
#listener ⇒ Object (readonly)
Returns the value of attribute listener.
191 192 193 |
# File 'lib/cql/io/io_reactor.rb', line 191 def listener @listener end |