Method: MainLoop::Bus#initialize
- Defined in:
- lib/main_loop/bus.rb
#initialize ⇒ Bus
Returns a new instance of Bus.
13 14 15 16 17 18 19 |
# File 'lib/main_loop/bus.rb', line 13 def initialize super() @read, @write = IO.pipe @read.sync = true @write.sync = true @buffer = '' end |