Class: EM::Beanstalk::Shell

Inherits:
Object
  • Object
show all
Defined in:
lib/em-beanstalk/shell.rb

Defined Under Namespace

Classes: KeyboardHandler

Instance Method Summary collapse

Instance Method Details

#startObject



120
121
122
123
124
125
# File 'lib/em-beanstalk/shell.rb', line 120

def start
  $stdout.sync = true
  EM.run do
    EM.open_keyboard(KeyboardHandler)
  end
end