class EventMachine::Synchrony::Keyboard

Attributes

current_fiber[R]
separator[R]

Public Instance Methods

gets() click to toggle source
# File lib/em-synchrony/keyboard.rb, line 6
def gets
  @current_fiber = Fiber.current        
  EM.open_keyboard(EventMachine::Synchrony::KeyboardHandler, self)
  
  Fiber.yield
end