class Sass::Script::Number

def minus(other)

Raises:
  • (Sass::UnitConversionError) - if `other` is a number with incompatible units

Returns:
  • (Literal) - The result of the operation

Parameters:
  • other (Literal) -- The right-hand side of the operator
def minus(other)
  if other.is_a? Number
    operate(other, :-)
  else
    super
  end
end