Module: Cucumber::TreetopParser::Feature::MultilineString2

Defined in:
lib/cucumber/treetop_parser/feature_da.rb,
lib/cucumber/treetop_parser/feature_de.rb,
lib/cucumber/treetop_parser/feature_en.rb,
lib/cucumber/treetop_parser/feature_es.rb,
lib/cucumber/treetop_parser/feature_et.rb,
lib/cucumber/treetop_parser/feature_fr.rb,
lib/cucumber/treetop_parser/feature_ja.rb,
lib/cucumber/treetop_parser/feature_nl.rb,
lib/cucumber/treetop_parser/feature_no.rb,
lib/cucumber/treetop_parser/feature_pt.rb,
lib/cucumber/treetop_parser/feature_ru.rb,
lib/cucumber/treetop_parser/feature_se.rb,
lib/cucumber/treetop_parser/feature_en-tx.rb,
lib/cucumber/treetop_parser/feature_zh-CN.rb

Overview

:nodoc:

Instance Method Summary collapse

Instance Method Details

#to_argObject

:nodoc:



1007
1008
1009
# File 'lib/cucumber/treetop_parser/feature_da.rb', line 1007

def to_arg #:nodoc:
  string.text_value.split("\n").map{|l| l.strip}.join("\n")
end