Simple expression which returns true if the supplied arguments occur within the given year.
# File lib/runt/temporalexpression.rb, line 735 def initialize(year) @year = year end
# File lib/runt/temporalexpression.rb, line 739 def include?(date) return date.year == @year end
# File lib/runt/temporalexpression.rb, line 743 def to_s "during the year #{@year}" end