aboutsummaryrefslogblamecommitdiffstats
path: root/lib/arel/tree_manager.rb
blob: 9dd9f27858fa53f810a4a8e7f58691cf2d9d6be2 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11

                   


                          
                         
                      



                                       
                      


       
module Arel
  class TreeManager
    # FIXME: Remove this.
    include Arel::Relation

    def initialize engine
      @engine = engine
    end

    def to_sql
      viz = Visitors::ToSql.new @engine
      viz.accept @head
    end
  end
end