class Sass::Script::Number

def unit_str

Returns:
  • (String) - a string that represents the units in this number
def unit_str
  rv = numerator_units.sort.join("*")
  if denominator_units.any?
    rv << "/"
    rv << denominator_units.sort.join("*")
  end
  rv
end