Object
# File lib/arel/tree_manager.rb, line 23 def initialize_copy other super @ast = @ast.clone end
# File lib/arel/tree_manager.rb, line 15 def to_dot Visitors::Dot.new.accept @ast end
# File lib/arel/tree_manager.rb, line 19 def to_sql @visitor.accept @ast end
# File lib/arel/tree_manager.rb, line 28 def where expr if Arel::TreeManager === expr expr = expr.ast end @ctx.wheres << expr self end
# File lib/arel/tree_manager.rb, line 9 def initialize engine @engine = engine @visitor = Visitors.visitor_for @engine @ctx = nil end
[Validate]
Generated with the Darkfish Rdoc Generator 2.