Class: Cucumber::Glue::Snippet::MultilineArgumentSnippet::Builder
- Inherits:
-
Object
- Object
- Cucumber::Glue::Snippet::MultilineArgumentSnippet::Builder
- Defined in:
- lib/cucumber/glue/snippet.rb
Instance Method Summary collapse
Instance Method Details
#data_table(table, *_args) ⇒ Object
166 167 168 |
# File 'lib/cucumber/glue/snippet.rb', line 166 def data_table(table, *_args) @result = DataTable.new(table) end |
#doc_string(*_args) ⇒ Object
162 163 164 |
# File 'lib/cucumber/glue/snippet.rb', line 162 def doc_string(*_args) @result = DocString.new end |
#result ⇒ Object
170 171 172 |
# File 'lib/cucumber/glue/snippet.rb', line 170 def result @result || None.new end |