Class: SimpleInvoice::BillingPeriodType::Weekly
- Inherits:
-
SimpleInvoice::BillingPeriodType
- Object
- SimpleInvoice::BillingPeriodType
- SimpleInvoice::BillingPeriodType::Weekly
- Defined in:
- lib/simple_invoice/billing_period_type/weekly.rb
Instance Method Summary collapse
Methods inherited from SimpleInvoice::BillingPeriodType
annually, fortnightly, #initialize, #last_day_of_period, monthly, quarterly, weekly
Constructor Details
This class inherits a constructor from SimpleInvoice::BillingPeriodType
Instance Method Details
#first_day_of_next_period(first_day) ⇒ Object
6 7 8 |
# File 'lib/simple_invoice/billing_period_type/weekly.rb', line 6 def first_day_of_next_period first_day first_day.next_day(7 * @multiple) end |