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