Class: DBus::Loop::EventMachine::Reader
- Inherits:
-
EventMachine::Connection
- Object
- EventMachine::Connection
- DBus::Loop::EventMachine::Reader
- Defined in:
- lib/dbus/loop-em.rb
Instance Method Summary collapse
-
#initialize(parent) ⇒ Reader
constructor
A new instance of Reader.
- #notify_readable ⇒ Object
Constructor Details
#initialize(parent) ⇒ Reader
Returns a new instance of Reader.
7 8 9 |
# File 'lib/dbus/loop-em.rb', line 7 def initialize(parent) @parent = parent end |
Instance Method Details
#notify_readable ⇒ Object
11 12 13 14 15 |
# File 'lib/dbus/loop-em.rb', line 11 def notify_readable @parent. rescue EOFError detach end |