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