module StrftimeJPWeek
Constants
- JP_WEEK
- VERSION
Public Instance Methods
strftime(format = nil)
click to toggle source
Calls superclass method
# File lib/strftime_jp_week.rb, line 9 def strftime(format = nil) if format.nil? super() else super(format.gsub("%jw", JP_WEEK[wday])) end end