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