Class: SassC::Script::ValueConversion::String
- Inherits:
-
Base
- Object
- Base
- SassC::Script::ValueConversion::String
show all
- Defined in:
- lib/sassc/script/value_conversion/string.rb
Instance Method Summary
collapse
Methods inherited from Base
#initialize
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
|