Method: SassC::Script::Value::String#initialize

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

#initialize(value, type = :identifier) ⇒ String

Creates a new string.

Parameters:

  • value (String)

    See #value

  • type (Symbol) (defaults to: :identifier)

    See #type

  • deprecated_interp_equivalent (String?)

    If this was created via a potentially-deprecated string interpolation, this is the replacement expression that should be suggested to the user.



66
67
68
69
# File 'lib/sassc/script/value/string.rb', line 66

def initialize(value, type = :identifier)
  super(value)
  @type = type
end