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