Module: Merritt::TIND::Times
- Defined in:
- lib/merritt/tind/times.rb
Class Method Summary collapse
Class Method Details
.iso8601_range(from_time, until_time) ⇒ Object
7 8 9 10 11 12 13 |
# File 'lib/merritt/tind/times.rb', line 7 def iso8601_range(from_time, until_time) from_time, until_time = valid_range(from_time, until_time) [ from_time && from_time.iso8601, until_time && until_time.iso8601 ] end |