Object
Matches dates that occur after a given date.
# File lib/runt/temporalexpression.rb, line 985 def initialize(date, inclusive=false) @date = date @inclusive = inclusive end
# File lib/runt/temporalexpression.rb, line 990 def ==(o) o.is_a?(AfterTE) ? date == o.date && inclusive == o.inclusive : super(o) end
# File lib/runt/temporalexpression.rb, line 995 def include?(date) return (date > @date) || (@inclusive && @date == date) end
# File lib/runt/temporalexpression.rb, line 999 def to_s "after #{Runt.format_date(@date)}" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.