CurrencyLoader

Constants

DATA_PATH

Public Instance Methods

load_currencies() click to toggle source

Loads and returns the currencies stored in JSON files in the config directory.

@return [Hash]

# File lib/money/currency_loader.rb, line 9
def load_currencies
  currencies = parse_currency_file("currency.json")
  currencies.merge! parse_currency_file("currency_bc.json")
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.