Module: BuildTool::StateHelper
- Included in:
- History::CommandLog, History::ModuleLog
- Defined in:
- lib/build-tool/state_helper.rb
Defined Under Namespace
Modules: ClassMethods
Constant Summary collapse
- STARTED =
Needed for both Module and Command History
0
- CANCELED_BY_USER =
1
- FINISHED_SUCCESSFUL =
2
- FINISHED_WITH_ERRORS =
3
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.included(klass) ⇒ Object
56 57 58 |
# File 'lib/build-tool/state_helper.rb', line 56 def self.included( klass ) klass.extend ClassMethods end |
Instance Method Details
#state_char ⇒ Object
19 20 21 |
# File 'lib/build-tool/state_helper.rb', line 19 def state_char self.class.state_char( self.state ) end |
#state_str ⇒ Object
15 16 17 |
# File 'lib/build-tool/state_helper.rb', line 15 def state_str self.class.state_str( self.state ) end |