Class: Cucumber::Wire::Protocol::Requests::StepMatches
Instance Method Summary
collapse
#handle_fail, #initialize
Instance Method Details
#execute(name_to_match) ⇒ Object
10
11
12
13
14
15
16
|
# File 'lib/cucumber/wire/protocol/requests.rb', line 10
def execute(name_to_match)
@name_to_match = name_to_match
request_params = {
:name_to_match => name_to_match
}
super(request_params)
end
|
#handle_success(params) ⇒ Object
Also known as:
handle_step_matches
18
19
20
21
22
|
# File 'lib/cucumber/wire/protocol/requests.rb', line 18
def handle_success(params)
params.map do |raw_step_match|
create_step_match(raw_step_match)
end
end
|