Class: Rootage::CommandContext

Inherits:
ProcessContext show all
Defined in:
lib/rootage/command.rb

Overview

CommandContext is a context used for action.

Instance Attribute Summary

Attributes inherited from ProcessContext

#model, #scenario

Instance Method Summary collapse

Methods inherited from ProcessContext

#fail, #initialize, make, #test

Constructor Details

This class inherits a constructor from Rootage::ProcessContext

Instance Method Details

#quitObject

quite the sequecen.



12
13
14
# File 'lib/rootage/command.rb', line 12

def quit
  throw :rootage_quit_sequence, false
end

#stopObject

Stop the item.



7
8
9
# File 'lib/rootage/command.rb', line 7

def stop
  throw :rootage_stop_item, false
end