# File lib/em-synchrony/keyboard.rb, line 17definitialize(keyboard)
@keyboard = keyboardend
Public Instance Methods
receive_line(line)click to toggle source
# File lib/em-synchrony/keyboard.rb, line 21defreceive_line(line)
# Simulate gets by adding a trailing line feed@input = "#{line}#{$/}"close_connectionend
unbind()click to toggle source
# File lib/em-synchrony/keyboard.rb, line 28defunbind@keyboard.current_fiber.resume@inputend