class Repeatable::Expression::ExactDate

Attributes

date[R]

Public Class Methods

new(date:) click to toggle source
# File lib/repeatable/expression/exact_date.rb, line 4
def initialize(date:)
  @date = Conversions::Date(date)
end

Public Instance Methods

include?(other_date) click to toggle source
# File lib/repeatable/expression/exact_date.rb, line 8
def include?(other_date)
  date == other_date
end