Class: SOF::TimeSpan::DatePeriod::Month
- Inherits:
-
SOF::TimeSpan::DatePeriod
- Object
- SOF::TimeSpan::DatePeriod
- SOF::TimeSpan::DatePeriod::Month
- Defined in:
- lib/sof/time_span.rb
Instance Method Summary collapse
Instance Method Details
#beginning_of_period(date) ⇒ Object
151 152 153 |
# File 'lib/sof/time_span.rb', line 151 def beginning_of_period(date) date.beginning_of_month end |
#end_of_period(date) ⇒ Object
147 148 149 |
# File 'lib/sof/time_span.rb', line 147 def end_of_period(date) date.end_of_month end |