Column::Col-fixes (==, ===)
This commit is contained in:
parent
293909b58b
commit
1c97319d9c
1 changed files with 2 additions and 3 deletions
|
@ -139,12 +139,11 @@ class SmqlToAR
|
||||||
|
|
||||||
def == other
|
def == other
|
||||||
other = Col.new other
|
other = Col.new other
|
||||||
@col = other.col && @as == other.col
|
@col == other.col && @as == other.as
|
||||||
end
|
end
|
||||||
|
|
||||||
def === other
|
def === other
|
||||||
other = Col.new other
|
@col == Col.new( other).col
|
||||||
@col == other.col
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue