Object
Simple expression which returns true if the supplied arguments occur within the given year.
# File lib/runt/temporalexpression.rb, line 933 def initialize(year) @year = year end
# File lib/runt/temporalexpression.rb, line 937 def ==(o) o.is_a?(YearTE) ? year == o.year : super(o) end
# File lib/runt/temporalexpression.rb, line 941 def include?(date) return date.year == @year end
# File lib/runt/temporalexpression.rb, line 945 def to_s "during the year #{@year}" end
[Validate]
Generated with the Darkfish Rdoc Generator 2.