Class: MudratProjector::DateDiff::DayCalculator
- Inherits:
-
Calculator
- Object
- Struct
- Calculator
- MudratProjector::DateDiff::DayCalculator
- Defined in:
- lib/mudrat_projector/date_diff.rb
Direct Known Subclasses
Instance Attribute Summary
Attributes inherited from Calculator
Class Method Summary collapse
Instance Method Summary collapse
Class Method Details
.advance(intervals, from: from) ⇒ Object
41 42 43 |
# File 'lib/mudrat_projector/date_diff.rb', line 41 def self.advance intervals, from: from from + intervals.round end |
Instance Method Details
#calculate ⇒ Object
37 38 39 |
# File 'lib/mudrat_projector/date_diff.rb', line 37 def calculate days_between end |