Parent

Class Index [+]

Quicksearch

Cucumber::JsSupport::JsHook

Public Class Methods

new(js_language, tag_expressions, js_function) click to toggle source
    # File lib/cucumber/js_support/js_language.rb, line 58
58:       def initialize(js_language, tag_expressions, js_function)
59:         @js_language, @tag_expressions, @js_function = js_language, tag_expressions, js_function
60:       end

Public Instance Methods

invoke(location, scenario) click to toggle source
    # File lib/cucumber/js_support/js_language.rb, line 66
66:       def invoke(location, scenario)
67:         @js_language.current_world.execute(@js_function)
68:       end
tag_expressions() click to toggle source
    # File lib/cucumber/js_support/js_language.rb, line 62
62:       def tag_expressions
63:         @tag_expressions
64:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.