TExpr that will be true only if the first of its two contained expressions is true and the second is false.
# File lib/runt/temporalexpression.rb, line 176 def initialize(expr1, expr2) @expr1 = expr1 @expr2 = expr2 end
# File lib/runt/temporalexpression.rb, line 181 def include?(aDate) return false unless (@expr1.include?(aDate) && !@expr2.include?(aDate)) true end
# File lib/runt/temporalexpression.rb, line 186 def to_s @expr1.to_s + ' except for ' + @expr2.to_s end