Method: Mods::Date#as_range
- Defined in:
- lib/mods/date.rb
#as_range ⇒ Object
Return a range, with the min point as the earliest possible date and the max as the latest possible date (useful particularly for ranges and uncertainty)
325 326 327 328 329 |
# File 'lib/mods/date.rb', line 325 def as_range return unless earliest_date && latest_date earliest_date..latest_date end |