class Time

Provides #Time.wnum

Public Instance Methods

week_key() click to toggle source
# File lib/git_heroes/ext/time.rb, line 8
def week_key
  strftime('%Y.%W')
end
wnum() click to toggle source
# File lib/git_heroes/ext/time.rb, line 4
def wnum
  strftime('%W').to_i
end