Class: Cucumber::Core::Test::HookCompiler::HookMapper
- Inherits:
-
Object
- Object
- Cucumber::Core::Test::HookCompiler::HookMapper
- Defined in:
- lib/cucumber/core/test/hook_compiler.rb
Defined Under Namespace
Classes: AroundHook
Instance Method Summary collapse
Instance Method Details
#after(&block) ⇒ Object
83 84 85 |
# File 'lib/cucumber/core/test/hook_compiler.rb', line 83 def after(&block) compiler.after_hook HookStep.new(source, &block) end |
#around(&block) ⇒ Object
87 88 89 |
# File 'lib/cucumber/core/test/hook_compiler.rb', line 87 def around(&block) compiler.around_hook AroundHook.new(source, &block) end |