class Sass::Script::Number
def div(other)
-
(Literal)
- The result of the operation
Parameters:
-
other
(Literal
) -- The right-hand side of the operator
def div(other) if other.is_a? Number res = operate(other, :/) if self.original && other.original res.original = "#{self.original}/#{other.original}" end res else super end end