Class Index [+]

Quicksearch

Arel::Visitors::BindVisitor

Public Class Methods

new(target) click to toggle source
   # File lib/arel/visitors/bind_visitor.rb, line 4
4:       def initialize target
5:         @block = nil
6:         super
7:       end

Public Instance Methods

accept(node, &block) click to toggle source
    # File lib/arel/visitors/bind_visitor.rb, line 9
 9:       def accept node, &block
10:         @block = block if block_given?
11:         super
12:       end

Private Instance Methods

visit_Arel_Nodes_BindParam(o) click to toggle source
    # File lib/arel/visitors/bind_visitor.rb, line 15
15:       def visit_Arel_Nodes_BindParam o
16:         if @block
17:           @block.call
18:         else
19:           super
20:         end
21:       end

Disabled; run with --debug to generate this.

[Validate]

Generated with the Darkfish Rdoc Generator 1.1.6.