Method: Interval#max

Defined in:
lib/standard/facets/interval.rb

#maxObject

Returns the greater of the first and last sentinals.



145
146
147
# File 'lib/standard/facets/interval.rb', line 145

def max
  ((@first <=> @last) == 1) ? @first : @last
end