Class: Cucumber::Core::Test::HookStep
- Defined in:
- lib/cucumber/core/test/step.rb
Instance Attribute Summary
Attributes inherited from Step
#location, #multiline_arg, #text
Instance Method Summary collapse
- #hook? ⇒ Boolean
-
#initialize(text, location, action) ⇒ HookStep
constructor
A new instance of HookStep.
Methods inherited from Step
#action_location, #backtrace_line, #describe_to, #execute, #inspect, #skip, #to_s, #with_action
Constructor Details
#initialize(text, location, action) ⇒ HookStep
Returns a new instance of HookStep.
59 60 61 |
# File 'lib/cucumber/core/test/step.rb', line 59 def initialize(text, location, action) super(text, location, Test::EmptyMultilineArgument.new, action) end |
Instance Method Details
#hook? ⇒ Boolean
63 64 65 |
# File 'lib/cucumber/core/test/step.rb', line 63 def hook? true end |