Parent

Included Modules

Class Index [+]

Quicksearch

Cucumber::WireSupport::WireLanguage

The wire-protocol (lanugage independent) implementation of the programming language API.

Public Class Methods

new(step_mother) click to toggle source
    # File lib/cucumber/wire_support/wire_language.rb, line 24
24:       def initialize(step_mother)
25:         @connections = []
26:       end

Public Instance Methods

alias_adverbs(adverbs) click to toggle source
    # File lib/cucumber/wire_support/wire_language.rb, line 28
28:       def alias_adverbs(adverbs)
29:       end
load_code_file(wire_file) click to toggle source
    # File lib/cucumber/wire_support/wire_language.rb, line 31
31:       def load_code_file(wire_file)
32:         config = Configuration.new(wire_file)
33:         @connections << Connection.new(config)
34:       end
snippet_text(step_keyword, step_name, multiline_arg_class) click to toggle source
    # File lib/cucumber/wire_support/wire_language.rb, line 36
36:       def snippet_text(step_keyword, step_name, multiline_arg_class)
37:         snippets = @connections.map do |remote| 
38:           remote.snippet_text(step_keyword, step_name, multiline_arg_class.to_s)
39:         end
40:         snippets.flatten.join("\n")
41:       end
step_matches(step_name, formatted_step_name) click to toggle source
    # File lib/cucumber/wire_support/wire_language.rb, line 43
43:       def step_matches(step_name, formatted_step_name)
44:         @connections.map{ |c| c.step_matches(step_name, formatted_step_name)}.flatten
45:       end

Protected Instance Methods

begin_scenario(scenario) click to toggle source
    # File lib/cucumber/wire_support/wire_language.rb, line 49
49:       def begin_scenario(scenario)
50:         @connections.each { |c| c.begin_scenario(scenario) }
51:         @current_scenario = scenario
52:       end
end_scenario() click to toggle source
    # File lib/cucumber/wire_support/wire_language.rb, line 54
54:       def end_scenario
55:         scenario = @current_scenario
56:         @connections.each { |c| c.end_scenario(scenario) }
57:         @current_scenario = nil
58:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.