-
Notifications
You must be signed in to change notification settings - Fork 16
Open
Description
Given:
money-currencylayer-bank/lib/money/bank/currencylayer_bank.rb
Lines 12 to 20 in 1d47636
| class Memory | |
| # Add method to reset the build in memory store | |
| # @param [Hash] rtd Optional initial exchange rate data. | |
| # @return [Object] store. | |
| def reset!(rtd = {}) | |
| transaction { @index = rtd } | |
| end | |
| end | |
| end |
You can see it is overwriting the instance variable @index.
However, in this commit: RubyMoney/money@57c3da8 - @index was removed or replaced by @rates
Metadata
Metadata
Assignees
Labels
No labels