Sha256: 075af281fbf51d85636c62fd41e1895b69aa8423d240544b350dda2986026f55
Contents?: true
Size: 239 Bytes
Versions: 1
Compression:
Stored size: 239 Bytes
Contents
module Repeatable module Expression class DayInMonth < Base def initialize(day:) @day = day end def include?(date) date.day == day end private attr_reader :day end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
repeatable-0.1.0 | lib/repeatable/expression/day_in_month.rb |