Parent

Included Modules

Class Index [+]

Quicksearch

Arel::TreeManager

Attributes

visitor[RW]
ast[R]
engine[R]

Public Class Methods

new(engine) click to toggle source
    # File lib/arel/tree_manager.rb, line 9
 9:     def initialize engine
10:       @engine  = engine
11:       @visitor = Visitors.visitor_for @engine
12:     end

Public Instance Methods

initialize_copy(other) click to toggle source
    # File lib/arel/tree_manager.rb, line 22
22:     def initialize_copy other
23:       super
24:       @ast = @ast.clone
25:     end
to_dot() click to toggle source
    # File lib/arel/tree_manager.rb, line 14
14:     def to_dot
15:       Visitors::Dot.new.accept @ast
16:     end
to_sql() click to toggle source
    # File lib/arel/tree_manager.rb, line 18
18:     def to_sql
19:       @visitor.accept @ast
20:     end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.