# File lib/money/currency_loader.rb, line 11 def load_currencies json = File.read(DATA_PATH + 'currency.json') currencies = JSON.parse(json, :symbolize_names => true) # merge the currencies kept for backwards compatibility json = File.read(DATA_PATH + 'currency_bc.json') currencies.merge!(JSON.parse(json, :symbolize_names => true)) end