Module: TomlRB::MultilineLiteral

Defined in:
lib/toml-rb/string.rb

Instance Method Summary collapse

Instance Method Details

#valueObject



61
62
63
64
65
66
# File 'lib/toml-rb/string.rb', line 61

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

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