Method: SassC::Script::Value::String#type

Defined in:
lib/sassc/script/value/string.rb

#typeSymbol (readonly)

Whether this is a CSS string or a CSS identifier. The difference is that strings are written with double-quotes, while identifiers aren’t.

Returns:

  • (Symbol)

    ‘:string` or `:identifier`



13
14
15
# File 'lib/sassc/script/value/string.rb', line 13

def type
  @type
end