Class: RspecStarter::Step
- Inherits:
-
Object
- Object
- RspecStarter::Step
- Defined in:
- lib/rspec_starter/steps/step.rb
Direct Known Subclasses
InvokeRspecStep, PrepareDatabaseStep, RemoveTmpFolderStep, VerifyXvfbStep
Instance Attribute Summary collapse
-
#relevant_options ⇒ Object
readonly
Returns the value of attribute relevant_options.
Instance Method Summary collapse
-
#initialize(runner) ⇒ Step
constructor
A new instance of Step.
- #should_skip? ⇒ Boolean
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_options ⇒ Object (readonly)
Returns the value of attribute relevant_options.
3 4 5 |
# File 'lib/rspec_starter/steps/step.rb', line 3 def @relevant_options end |
Instance Method Details
#should_skip? ⇒ Boolean
10 11 12 |
# File 'lib/rspec_starter/steps/step.rb', line 10 def should_skip? !should_execute? end |