Module: Cuttlebone

Defined in:
lib/cuttlebone.rb,
lib/cuttlebone/version.rb,
lib/cuttlebone/definition.rb,
lib/cuttlebone/exceptions.rb

Defined Under Namespace

Modules: Drivers Classes: Controller, Definition, DoubleActionError, InvalidContextError, Session, UnknownCommandError

Constant Summary collapse

VERSION =
"0.1.5"
@@definitions =
[]

Class Method Summary collapse

Class Method Details

.definitionsObject



19
# File 'lib/cuttlebone.rb', line 19

def self.definitions; @@definitions; end

.run(stack_objects, default_driver = Drivers::Shell) ⇒ Object



21
22
23
# File 'lib/cuttlebone.rb', line 21

def self.run stack_objects, default_driver=Drivers::Shell
  default_driver.new(stack_objects).run
end