class SassC::Script::ValueConversion::String

Public Instance Methods

to_native(opts = {}) click to toggle source
# File lib/sassc/script/value_conversion/string.rb, line 7
def to_native(opts = {})
  if opts[:quote] == :none || @value.type == :identifier
    Native::make_string(@value.to_s)
  else
    Native::make_qstring(@value.to_s)
  end
end