Class: Time
Instance Method Summary collapse
- #beginning_of_range(timezone = ::Time.zone) ⇒ Object
- #end_of_range(timezone = ::Time.zone) ⇒ Object
- #to_time_range(timezone = ::Time.zone) ⇒ Object
Instance Method Details
#beginning_of_range(timezone = ::Time.zone) ⇒ Object
8 9 10 |
# File 'lib/coaster/core_ext/time.rb', line 8 def beginning_of_range(timezone = ::Time.zone) to_time_range(timezone).begin end |