Class Index [+]

Quicksearch

Cucumber::WireSupport::WireProtocol::Requests::StepMatches

Public Instance Methods

execute(name_to_match, name_to_report) click to toggle source
    # File lib/cucumber/wire_support/wire_protocol/requests.rb, line 7
 7:           def execute(name_to_match, name_to_report)
 8:             @name_to_match, @name_to_report = name_to_match, name_to_report
 9:             request_params = {
10:               :name_to_match => name_to_match
11:             }
12:             super(request_params)
13:           end
handle_step_matches(params) click to toggle source
Alias for: handle_success
handle_success(params) click to toggle source
    # File lib/cucumber/wire_support/wire_protocol/requests.rb, line 15
15:           def handle_success(params)
16:             params.map do |raw_step_match|
17:               create_step_match(raw_step_match)
18:             end
19:           end
Also aliased as: handle_step_matches

Private Instance Methods

create_step_match(raw_step_match) click to toggle source
    # File lib/cucumber/wire_support/wire_protocol/requests.rb, line 25
25:           def create_step_match(raw_step_match)
26:             step_definition = WireStepDefinition.new(@connection, raw_step_match)
27:             step_args = raw_step_match['args'].map do |raw_arg|
28:               StepArgument.new(raw_arg['val'], raw_arg['pos'])
29:             end
30:             step_match(step_definition, step_args)
31:           end
step_match(step_definition, step_args) click to toggle source
    # File lib/cucumber/wire_support/wire_protocol/requests.rb, line 33
33:           def step_match(step_definition, step_args)
34:             StepMatch.new(step_definition, @name_to_match, @name_to_report, step_args)
35:           end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.