Module: JapaneseCalendar::Era::Deprecator

Includes:
Deprecator
Included in:
JapaneseCalendar::Era
Defined in:
lib/japanese_calendar/era/deprecator.rb

Instance Method Summary collapse

Instance Method Details

#strftime(format) ⇒ Object



22
23
24
25
26
# File 'lib/japanese_calendar/era/deprecator.rb', line 22

def strftime(format)
  deprecations = collect_era_deprecations(format)
  deprecations.each { |deprecation| deprecate(*deprecation) }
  super(format)
end