Class: Cucumber::Wire::Snippet::Generator::MultilineArgClassName
- Inherits:
-
Object
- Object
- Cucumber::Wire::Snippet::Generator::MultilineArgClassName
- Defined in:
- lib/cucumber/wire/snippet.rb
Instance Method Summary collapse
- #data_table ⇒ Object
- #doc_string ⇒ Object
-
#initialize(arg) ⇒ MultilineArgClassName
constructor
A new instance of MultilineArgClassName.
- #to_s ⇒ Object
Constructor Details
#initialize(arg) ⇒ MultilineArgClassName
Returns a new instance of MultilineArgClassName.
15 16 17 18 |
# File 'lib/cucumber/wire/snippet.rb', line 15 def initialize(arg) arg.describe_to(self) @result = "" end |
Instance Method Details
#data_table ⇒ Object
20 21 22 |
# File 'lib/cucumber/wire/snippet.rb', line 20 def data_table(*) @result = "Cucumber::MultilineArgument::DataTable" end |
#doc_string ⇒ Object
24 25 26 |
# File 'lib/cucumber/wire/snippet.rb', line 24 def doc_string(*) @result = "Cucumber::MultilineArgument::DocString" end |
#to_s ⇒ Object
28 29 30 |
# File 'lib/cucumber/wire/snippet.rb', line 28 def to_s @result end |