Module: TOML::MultilineString
- Defined in:
- lib/toml/string.rb
Instance Method Summary collapse
Instance Method Details
#value ⇒ Object
43 44 45 46 47 48 49 50 51 |
# File 'lib/toml/string.rb', line 43 def value return '' if captures[:text].empty? aux = captures[:text].first.value # Remove spaces on multilined Singleline strings aux.gsub!(/\\\r?\n[\n\t\r ]*/, '') TOML::BasicString.transform_escaped_chars aux end |