Class: SaveTheMonth::PeriodicalMovement
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- SaveTheMonth::PeriodicalMovement
- Defined in:
- lib/expected_balance.rb
Instance Attribute Summary collapse
-
#can_perform_strategy ⇒ Object
Returns the value of attribute can_perform_strategy.
Instance Method Summary collapse
Instance Attribute Details
#can_perform_strategy ⇒ Object
Returns the value of attribute can_perform_strategy.
19 20 21 |
# File 'lib/expected_balance.rb', line 19 def can_perform_strategy @can_perform_strategy end |
Instance Method Details
#can_perform?(given_date, initial_date) ⇒ Boolean
21 22 23 |
# File 'lib/expected_balance.rb', line 21 def can_perform?(given_date, initial_date) can_perform_strategy.call(given_date, initial_date) end |