Class: Cucumber::WireSupport::WireLanguage
Overview
The wire-protocol (lanugage independent) implementation of the programming language API.
Instance Method Summary
collapse
#add_hook, #add_transform, #after, #after_configuration, #available_step_definition, #before, #clear_hooks, #create_step_match, #execute_after_step, #execute_transforms, #hooks_for, #invoked_step_definition, #unmatched_step_definitions
Constructor Details
Returns a new instance of WireLanguage.
[View source]
24
25
26
|
# File 'lib/cucumber/wire_support/wire_language.rb', line 24
def initialize(step_mother)
@connections = []
end
|
Instance Method Details
[View source]
28
29
|
# File 'lib/cucumber/wire_support/wire_language.rb', line 28
def alias_adverbs(adverbs)
end
|
permalink
#snippet_text(step_keyword, step_name, multiline_arg_class) ⇒ Object
[View source]
36
37
38
39
40
41
|
# File 'lib/cucumber/wire_support/wire_language.rb', line 36
def snippet_text(step_keyword, step_name, multiline_arg_class)
snippets = @connections.map do |remote|
remote.snippet_text(step_keyword, step_name, multiline_arg_class.to_s)
end
snippets.flatten.join("\n")
end
|
permalink
#step_matches(step_name, formatted_step_name) ⇒ Object
[View source]
43
44
45
|
# File 'lib/cucumber/wire_support/wire_language.rb', line 43
def step_matches(step_name, formatted_step_name)
@connections.map{ |remote| remote.step_matches(step_name, formatted_step_name)}.flatten
end
|