Column::Col-fixes (==, ===)

This commit is contained in:
Denis Knauf 2011-11-29 12:00:40 +01:00
parent 293909b58b
commit 1c97319d9c

View file

@ -139,12 +139,11 @@ class SmqlToAR
def == other
other = Col.new other
@col = other.col && @as == other.col
@col == other.col && @as == other.as
end
def === other
other = Col.new other
@col == other.col
@col == Col.new( other).col
end
end