Class: WIP::Runner::Spec::Helpers::CommandHelpers::ExampleCommands::Simple
- Inherits:
-
Command
- Object
- Command
- WIP::Runner::Spec::Helpers::CommandHelpers::ExampleCommands::Simple
- Defined in:
- lib/wip/runner/spec/helpers/command_helpers.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Command
Instance Method Summary collapse
Methods inherited from Command
argument, arguments, commands, #initialize, options, overview, #run, signature, workflow
Constructor Details
This class inherits a constructor from WIP::Runner::Command
Instance Method Details
#execute(args, options) ⇒ Object
21 22 23 |
# File 'lib/wip/runner/spec/helpers/command_helpers.rb', line 21 def execute(args, ) @executed = true end |
#executed? ⇒ Boolean
25 26 27 |
# File 'lib/wip/runner/spec/helpers/command_helpers.rb', line 25 def executed? !! @executed end |