Class: SaveTheMonth::Movement

Inherits:
Struct
  • Object
show all
Defined in:
lib/expected_balance.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#amountObject

Returns the value of attribute amount

Returns:

  • (Object)

    the current value of amount



4
5
6
# File 'lib/expected_balance.rb', line 4

def amount
  @amount
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



4
5
6
# File 'lib/expected_balance.rb', line 4

def name
  @name
end

#typeObject

Returns the value of attribute type

Returns:

  • (Object)

    the current value of 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

Returns:

  • (Boolean)


5
6
7
# File 'lib/expected_balance.rb', line 5

def can_perform?(given_date, initial_date)
  true
end