Module: Monthly
- Defined in:
- lib/monthly.rb,
lib/monthly/version.rb,
lib/monthly/splitter.rb,
lib/monthly/calculator.rb
Defined Under Namespace
Classes: Calculator, Splitter
Constant Summary collapse
- VERSION =
"0.1.3"
Class Method Summary collapse
Class Method Details
.partial_months(from, to, days_per_month = 30) ⇒ Object
6 7 8 9 |
# File 'lib/monthly.rb', line 6 def self.partial_months(from, to, days_per_month=30) calculator = Calculator.new(from, to, days_per_month) calculator.partial_months end |