Parent

Methods

Class Index [+]

Quicksearch

Cucumber::RbSupport::RbHook

Wrapper for Before, After and AfterStep hooks

Attributes

tag_expressions[R]

Public Class Methods

new(rb_language, tag_expressions, proc) click to toggle source
    # File lib/cucumber/rb_support/rb_hook.rb, line 7
 7:       def initialize(rb_language, tag_expressions, proc)
 8:         @rb_language = rb_language
 9:         @tag_expressions = tag_expressions
10:         @proc = proc
11:       end

Public Instance Methods

invoke(location, argument, &block) click to toggle source
    # File lib/cucumber/rb_support/rb_hook.rb, line 13
13:       def invoke(location, argument, &block)
14:         @rb_language.current_world.cucumber_instance_exec(false, location, *[argument, block].compact, &@proc)
15:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.