Class: SaveTheMonth::Movement
- Inherits:
-
Struct
- Object
- Struct
- SaveTheMonth::Movement
- Defined in:
- lib/expected_balance.rb
Instance Attribute Summary collapse
-
#amount ⇒ Object
Returns the value of attribute amount.
-
#name ⇒ Object
Returns the value of attribute name.
-
#type ⇒ Object
Returns the value of attribute type.
Instance Method Summary collapse
Instance Attribute Details
#amount ⇒ Object
Returns the value of attribute amount
4 5 6 |
# File 'lib/expected_balance.rb', line 4 def amount @amount end |
#name ⇒ Object
Returns the value of attribute name
4 5 6 |
# File 'lib/expected_balance.rb', line 4 def name @name end |
#type ⇒ Object
Returns the value of attribute type
4 5 6 |
# File 'lib/expected_balance.rb', line 4 def type @type end |
Instance Method Details
#can_perform?(given_date, initial_date) ⇒ Boolean
5 6 7 |
# File 'lib/expected_balance.rb', line 5 def can_perform?(given_date, initial_date) true end |