Module: Redmineup::Currency::Loader
- Included in:
- Redmineup::Currency
- Defined in:
- lib/redmineup/currency/loader.rb
Constant Summary collapse
- DATA_PATH =
File.("../../../../config", __FILE__)
Instance Method Summary collapse
-
#load_currencies ⇒ Hash
Loads and returns the currencies stored in JSON files in the config directory.
Instance Method Details
#load_currencies ⇒ Hash
Loads and returns the currencies stored in JSON files in the config directory.
10 11 12 |
# File 'lib/redmineup/currency/loader.rb', line 10 def load_currencies parse_currency_file('currency_iso.json') end |