class Numeric
Public Instance Methods
but_not_less_than(n)
click to toggle source
@param [Numeric] n @return [Numeric]
# File lib/numeric/but_not_less_than.rb, line 6 def but_not_less_than(n) if self < n then n else self end end