Class: CLDR::Number
Instance Method Summary collapse
-
#initialize(locale, fallback) ⇒ Number
constructor
Create a new CLDR::Number object * locale: the Locale::Object * fallback: the Locale::Object if the locale isn’t found.
Constructor Details
#initialize(locale, fallback) ⇒ Number
Create a new CLDR::Number 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
68 69 70 |
# File 'lib/cldr/resource.rb', line 68 def initialize(locale, fallback) super(locale, fallback, "number") end |