Class: Cldr::Export::Data::Calendars
- Defined in:
- lib/cldr/export/data/calendars.rb,
lib/cldr/export/data/calendars/gregorian.rb
Defined Under Namespace
Classes: Gregorian
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
-
#initialize(locale) ⇒ Calendars
constructor
A new instance of Calendars.
Methods inherited from Base
Methods inherited from Hash
#deep_merge, #deep_stringify_keys, #symbolize_keys
Constructor Details
#initialize(locale) ⇒ Calendars
Returns a new instance of Calendars.
7 8 9 10 |
# File 'lib/cldr/export/data/calendars.rb', line 7 def initialize(locale) super update(:calendars => { :gregorian => Gregorian.new(locale) }) end |