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