Parent

Files

Class/Module 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 62
def initialize(js_language, tag_expressions, js_function)
  @js_language, @tag_expressions, @js_function = js_language, tag_expressions, js_function
end

Public Instance Methods

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

[Validate]

Generated with the Darkfish Rdoc Generator 2.