1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/lib/arel/nodes/bind_param.rb
Sean Griffin d36a769234 Implement equality for BindParam
It is impossible to test equality of things constructing trees with bind
params otherwise.
2015-01-25 14:48:11 -07:00

9 lines
133 B
Ruby

module Arel
module Nodes
class BindParam < Node
def ==(other)
other.is_a?(BindParam)
end
end
end
end