class Sass::Script::Literal

def unary_minus

Returns:
  • (Script::String) - A string containing the literal

Parameters:
  • other (Literal) -- The right-hand side of the operator
def unary_minus
  Sass::Script::String.new("-#{self.to_s}")
end