Class: CLDR::Currency

Inherits:
Resource show all
Defined in:
lib/cldr/resource.rb

Instance Method Summary collapse

Constructor Details

#initialize(locale, fallback) ⇒ Currency

Create a new CLDR::Currency object

  • locale: the Locale::Object

  • fallback: the Locale::Object if the locale isn’t found. This value should be existed locale.

  • Returns: a newly created Locale::Object



79
80
81
# File 'lib/cldr/resource.rb', line 79

def initialize(locale, fallback)
  super(locale, fallback, "currency")
end