Class: Durt::Command::Console

Inherits:
Service
  • Object
show all
Defined in:
lib/durt/command.rb

Instance Attribute Summary

Attributes inherited from Service

#result, #state

Instance Method Summary collapse

Methods inherited from Service

call, #call

Constructor Details

#initializeConsole

Returns a new instance of Console.



37
38
39
40
41
# File 'lib/durt/command.rb', line 37

def initialize
  controller = Durt::GlobalController.new

  steps << ->(_) { controller.console }
end