Class: BahaiDate::YearCalendar

Inherits:
Year
  • Object
show all
Defined in:
lib/bahai_date/year_calendar.rb

Constant Summary

Constants inherited from Year

BahaiDate::Year::TITLES, BahaiDate::Year::TITLES_EN, BahaiDate::Year::TITLES_HTML

Instance Attribute Summary

Attributes inherited from Year

#bahai_era, #kull_i_shay, #months, #number, #vahid

Instance Method Summary collapse

Methods inherited from Year

#add_month, #html, #title, #to_s, #translation

Constructor Details

#initialize(number_arg) ⇒ YearCalendar

Returns a new instance of YearCalendar.



3
4
5
6
# File 'lib/bahai_date/year_calendar.rb', line 3

def initialize(number_arg)
  super
  populate_calendar
end