Class: RspecStarter::Step

Inherits:
Object
  • Object
show all
Defined in:
lib/rspec_starter/steps/step.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(runner) ⇒ Step

Returns a new instance of Step.



5
6
7
8
# File 'lib/rspec_starter/steps/step.rb', line 5

def initialize(runner)
  @runner = runner
  @relevant_options = []
end

Instance Attribute Details

#relevant_optionsObject (readonly)

Returns the value of attribute relevant_options.



3
4
5
# File 'lib/rspec_starter/steps/step.rb', line 3

def relevant_options
  @relevant_options
end

Instance Method Details

#should_skip?Boolean

Returns:

  • (Boolean)


10
11
12
# File 'lib/rspec_starter/steps/step.rb', line 10

def should_skip?
  !should_execute?
end