Method: Interval#min
- Defined in:
- lib/standard/facets/interval.rb
#min ⇒ Object
Returns the lesser of the first and last sentinals.
140 141 142 |
# File 'lib/standard/facets/interval.rb', line 140 def min ((@first <=> @last) == -1) ? @first : @last end |