Class: Cucumber::Core::Test::HookStep

Inherits:
Step
  • Object
show all
Defined in:
lib/cucumber/core/test/step.rb

Instance Attribute Summary

Attributes inherited from Step

#id, #location, #multiline_arg, #text

Instance Method Summary collapse

Methods inherited from Step

#action_location, #backtrace_line, #describe_to, #execute, #inspect, #skip, #to_s, #with_action

Constructor Details

#initialize(id, text, location, action) ⇒ HookStep

Returns a new instance of HookStep.


60
61
62
# File 'lib/cucumber/core/test/step.rb', line 60

def initialize(id, text, location, action)
  super(id, text, location, Test::EmptyMultilineArgument.new, action)
end

Instance Method Details

#hook?Boolean

Returns:

  • (Boolean)

64
65
66
# File 'lib/cucumber/core/test/step.rb', line 64

def hook?
  true
end