Method: Interval#max

Defined in:
lib/mega/interval.rb

#maxObject

Returns the greater of the first and last sentinals.



176
177
178
# File 'lib/mega/interval.rb', line 176

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