class Money::RatesStore::Memory
def initialize(opts = {}, rates = {})
-
rates
(Hash
) -- Optional initial exchange rate data. -
opts
(Hash
) -- Optional store options.
Options Hash:
(**opts)
-
:without_mutex
(Boolean
) -- disables the usage of a mutex
def initialize(opts = {}, rates = {}) @rates = rates @options = opts @guard = Monitor.new end