class Arel::Nodes::And

Attributes

children[R]

Public Class Methods

new(children, right = nil) click to toggle source
# File lib/ransack/adapters/active_record/3.0/compat.rb, line 49
def initialize children, right = nil
  unless Array === children
    children = [children, right]
  end
  @children = children
end

Public Instance Methods

left() click to toggle source
# File lib/ransack/adapters/active_record/3.0/compat.rb, line 56
def left
  children.first
end
right() click to toggle source
# File lib/ransack/adapters/active_record/3.0/compat.rb, line 60
def right
  children[1]
end