Method: Cucumber::Runtime::SupportCode#snippet_text

Defined in:
lib/cucumber/runtime/support_code.rb

#snippet_text(step_keyword, step_name, multiline_arg_class) ⇒ Object

:nodoc:



99
100
101
102
103
104
# File 'lib/cucumber/runtime/support_code.rb', line 99

def snippet_text(step_keyword, step_name, multiline_arg_class) #:nodoc:
  load_programming_language('rb') if unknown_programming_language?
  @programming_languages.map do |programming_language|
    programming_language.snippet_text(step_keyword, step_name, multiline_arg_class, @configuration.snippet_type)
  end.join("\n")
end