Class: Messed::Tasks::Console
- Inherits:
-
Object
- Object
- Messed::Tasks::Console
- Defined in:
- lib/messed/tasks/console.rb
Defined Under Namespace
Modules: KeyboardHandler
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.start ⇒ Object
55 56 57 |
# File 'lib/messed/tasks/console.rb', line 55 def self.start new.start end |
Instance Method Details
#start ⇒ Object
59 60 61 62 63 64 65 66 |
# File 'lib/messed/tasks/console.rb', line 59 def start EM.run do EM.open_keyboard(KeyboardHandler) do |handler| handler.root = $root handler.environment = ARGV[0] end end end |