Module: TOML::MultilineLiteral

Defined in:
lib/toml/string.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



55
56
57
58
59
60
# File 'lib/toml/string.rb', line 55

def value
  return '' if captures[:text].empty?
  aux = captures[:text].first.value

  aux.gsub(/\\\r?\n[\n\t\r ]*/, '')
end