# File lib/cucumber/formatter/hook_query_visitor.rb, line 6 def initialize(test_step) @hook = false @type = :no_hook test_step.source.last.describe_to(self) end
# File lib/cucumber/formatter/hook_query_visitor.rb, line 24 def after_hook(*) @hook = true @type = :after end
# File lib/cucumber/formatter/hook_query_visitor.rb, line 29 def after_step_hook(*) @hook = true @type = :after_step end
# File lib/cucumber/formatter/hook_query_visitor.rb, line 34 def around_hook(*) @hook = true @type = :around end
# File lib/cucumber/formatter/hook_query_visitor.rb, line 19 def before_hook(*) @hook = true @type = :before end
# File lib/cucumber/formatter/hook_query_visitor.rb, line 12 def hook? @hook end
# File lib/cucumber/formatter/hook_query_visitor.rb, line 16 def step(*) end