Class: SaveTheMonth::DailyRestrictedMovement
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- SaveTheMonth::DailyRestrictedMovement
- Defined in:
- lib/expected_balance.rb
Instance Attribute Summary collapse
-
#date ⇒ Object
Returns the value of attribute date.
Instance Method Summary collapse
Instance Attribute Details
#date ⇒ Object
Returns the value of attribute date.
11 12 13 |
# File 'lib/expected_balance.rb', line 11 def date @date end |
Instance Method Details
#can_perform?(given_date, initial_date) ⇒ Boolean
13 14 15 |
# File 'lib/expected_balance.rb', line 13 def can_perform?(given_date, initial_date) given_date == date end |