Class: WIP::Runner::Spec::Helpers::CommandHelpers::ExampleCommands::WithOptions

Inherits:
Simple
  • Object
show all
Defined in:
lib/wip/runner/spec/helpers/command_helpers.rb

Instance Attribute Summary collapse

Attributes inherited from Command

#parser

Instance Method Summary collapse

Methods inherited from Simple

#executed?

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 Attribute Details

#flaggedObject (readonly)

Returns the value of attribute flagged.



39
40
41
# File 'lib/wip/runner/spec/helpers/command_helpers.rb', line 39

def flagged
  @flagged
end

Instance Method Details

#execute(args, options) ⇒ Object



41
42
43
44
# File 'lib/wip/runner/spec/helpers/command_helpers.rb', line 41

def execute(args, options)
  super
  @flagged = options.flagged
end