class Repeatable::Expression::ExactDate
Attributes
date[R]
Public Class Methods
new(date:)
click to toggle source
# File lib/repeatable/expression/exact_date.rb, line 7 def initialize(date:) @date = T.let(Conversions::Date(date), ::Date) end
Public Instance Methods
include?(other_date)
click to toggle source
# File lib/repeatable/expression/exact_date.rb, line 12 def include?(other_date) date == other_date end