Class: Cldr::Export::Data::Calendars
- Inherits:
-
Base
- Object
- Hash
- Base
- Cldr::Export::Data::Calendars
show all
- 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
#locale
Instance Method Summary
collapse
Methods inherited from Base
#[]=, #update
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
|