Class: SassC::Script::ValueConversion::String
- Defined in:
- lib/sassc/script/value_conversion/string.rb
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from SassC::Script::ValueConversion::Base
Instance Method Details
#to_native(opts = {}) ⇒ Object
7 8 9 10 11 12 13 |
# 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 |