Object
Wrapper for Before, After and AfterStep hooks
# File lib/cucumber/rb_support/rb_hook.rb, line 7 def initialize(rb_language, tag_expressions, proc) @rb_language = rb_language @tag_expressions = tag_expressions @proc = proc end
# File lib/cucumber/rb_support/rb_hook.rb, line 13 def invoke(location, argument, &block) @rb_language.current_world.cucumber_instance_exec(false, location, *[argument, block].compact, &@proc) end
[Validate]
Generated with the Darkfish Rdoc Generator 2.