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

master
Denis Knauf 2011-11-29 12:00:40 +01:00
parent 293909b58b
commit 1c97319d9c
1 changed files with 2 additions and 3 deletions

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