Sha256: eedc7e03fb63dfda9fa8464336c2ff349f379eba8255222f3fcf944d10420b81
Contents?: true
Size: 354 Bytes
Versions: 125
Compression:
Stored size: 354 Bytes
Contents
# frozen_string_literal: true class ReeDate::Thursday include Ree::FnDSL fn :thursday do link :today link :monday link :days_since end doc("Returns Thursday of this week assuming that week starts on Monday.") contract(Nilor[Date] => Date) def call(date = nil) date = date || today days_since(monday(date), 3) end end
Version data entries
125 entries across 125 versions & 1 rubygems