class Sass::Script::Value::Number

def div(other)

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

Parameters:
  • other (Value) -- The right-hand side of the operator
def div(other)
  if other.is_a? Number
    res = operate(other, :/)
    if original && other.original
      res.original = "#{original}/#{other.original}"
    end
    res
  else
    super
  end
end