Class: Range
Overview
Range extensions
Instance Method Summary collapse
-
#interval ⇒ Object
Returns the interval between the beginning and end of the range.
Instance Method Details
#interval ⇒ Object
Returns the interval between the beginning and end of the range.
13 14 15 |
# File 'lib/sequel/core_ext.rb', line 13 def interval last - first end |