mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
d36a769234
It is impossible to test equality of things constructing trees with bind params otherwise.
9 lines
133 B
Ruby
9 lines
133 B
Ruby
module Arel
|
|
module Nodes
|
|
class BindParam < Node
|
|
def ==(other)
|
|
other.is_a?(BindParam)
|
|
end
|
|
end
|
|
end
|
|
end
|