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



157
158
159
160
161
# File 'lib/cucumber/glue/snippet.rb', line 157

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