Method: Sass::Script::Value::String#to_s
- Defined in:
- lib/sass/script/value/string.rb
#to_s(opts = {})
101 102 103 104 |
# File 'lib/sass/script/value/string.rb', line 101
def to_s(opts = {})
return @value.gsub(/\n\s*/, ' ') if opts[:quote] == :none || @type == :identifier
String.quote(value, opts)
end
|