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
|
||||
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
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue