# File lib/arel/nodes/and.rb, line 27 def eql? other self.class == other.class && self.children == other.children end
# File lib/arel/nodes/and.rb, line 23 def hash children.hash end
# File lib/arel/nodes/and.rb, line 15 def left children.first end
# File lib/arel/nodes/and.rb, line 19 def right children[1] end
# File lib/arel/nodes/and.rb, line 6 def initialize children, right = nil super() unless Array === children warn "(#{caller.first}) AND nodes should be created with a list" children = [children, right] end @children = children end