class Devlog::Sevendays
Constants
- DAYS
- RANDOMDAY
Attributes
all[RW]
Public Class Methods
new(zezzions)
click to toggle source
# File lib/devlog.rb, line 395 def initialize(zezzions) @all = zezzions.sort end
Public Instance Methods
begins_at()
click to toggle source
# File lib/devlog.rb, line 399 def begins_at all.first.zzbegin.strftime("%Y/%m/%d") end
date()
click to toggle source
# File lib/devlog.rb, line 403 def date DateTime.current.strftime("%Y/%m/%d") end