Class: MudratProjector::DateDiff::Calculator
- Inherits:
-
Struct
- Object
- Struct
- MudratProjector::DateDiff::Calculator
- Defined in:
- lib/mudrat_projector/date_diff.rb
Direct Known Subclasses
Instance Attribute Summary collapse
-
#from ⇒ Object
Returns the value of attribute from.
-
#to ⇒ Object
Returns the value of attribute to.
Instance Method Summary collapse
Instance Attribute Details
#from ⇒ Object
Returns the value of attribute from
25 26 27 |
# File 'lib/mudrat_projector/date_diff.rb', line 25 def from @from end |
#to ⇒ Object
Returns the value of attribute to
25 26 27 |
# File 'lib/mudrat_projector/date_diff.rb', line 25 def to @to end |
Instance Method Details
#calculate ⇒ Object
26 27 28 |
# File 'lib/mudrat_projector/date_diff.rb', line 26 def calculate fail end |