class Sass::Script::Value::Base

def plus(other)

Returns:
  • (Script::Value::String) - A string containing both values

Parameters:
  • other (Value) -- The right-hand side of the operator
def plus(other)
  type = other.is_a?(Sass::Script::Value::String) ? other.type : :identifier
  Sass::Script::Value::String.new(to_s(:quote => :none) + other.to_s(:quote => :none), type)
end