lib/worldwide/currencies.rb in worldwide-1.14.0 vs lib/worldwide/currencies.rb in worldwide-1.14.1
- old
+ new
@@ -4,10 +4,10 @@
module Currencies
include Enumerable
extend self
CURRENCY_CODES = YAML.safe_load_file(
- File.join(Worldwide::Paths::OTHER_DATA_ROOT, "currency/codes.yml"),
+ File.join(Worldwide::Paths::CURRENCY_MAPPINGS, "codes.yml"),
freeze: true,
)
private_constant :CURRENCY_CODES
NUMERIC_THREE_TO_ALPHA_THREE_DB = CURRENCY_CODES.to_h do |key, value|