class Sass::Constant::Literal
:nodoc:
Let the subclasses see the superclass
def self.filter_value(value)
def self.filter_value(value) value end
def self.from_value(value)
def self.from_value(value) instance = self.new instance.instance_variable_set('@value', self.filter_value(value)) instance end
def self.parse(value)
def self.parse(value) case value when NUMBER Sass::Constant::Number.new(value) when COLOR Sass::Constant::Color.new(value) else Sass::Constant::String.new(value) end end
def concat(other)
def concat(other) Sass::Constant::String.from_value("#{self.to_s} #{other.to_s}") end
def initialize(value = nil)
def initialize(value = nil) self.parse(value) if value end
def perform
def perform self end