Module: Cucumber::Glue::Snippet::MultilineArgumentSnippet

Defined in:
lib/cucumber/glue/snippet.rb

Defined Under Namespace

Classes: Builder, DataTable, DocString, None

Class Method Summary collapse

Class Method Details

.new(multiline_argument) ⇒ Object



151
152
153
154
155
# File 'lib/cucumber/glue/snippet.rb', line 151

def self.new(multiline_argument)
  builder = Builder.new
  multiline_argument.describe_to(builder)
  builder.result
end