class Sass::Script::Number

def lt(other)

Raises:
  • (NoMethodError) - if `other` is an invalid type

Returns:
  • (Boolean) - Whether this number is less than the other

Parameters:
  • other (Number) -- The right-hand side of the operator
def lt(other)
  raise NoMethodError.new(nil, :lt) unless other.is_a?(Number)
  operate(other, :<)
end