lib/cucumber/wire_support/wire_language.rb in cucumber-1.2.5 vs lib/cucumber/wire_support/wire_language.rb in cucumber-1.3.0
- old
+ new
@@ -24,10 +24,10 @@
def load_code_file(wire_file)
config = Configuration.from_file(wire_file)
@connections << Connection.new(config)
end
- def snippet_text(code_keyword, step_name, multiline_arg_class)
+ def snippet_text(code_keyword, step_name, multiline_arg_class, snippet_type)
snippets = @connections.map do |remote|
remote.snippet_text(code_keyword, step_name, multiline_arg_class.to_s)
end
snippets.flatten.join("\n")
end