Module: Arel::Visitors::BindVisitor

Defined in:
lib/arel/visitors/bind_visitor.rb

Instance Method Summary collapse

Instance Method Details

#accept(node, collector, &block) ⇒ Object



9
10
11
12
# File 'lib/arel/visitors/bind_visitor.rb', line 9

def accept node, collector, &block
  @block = block if block_given?
  super
end

#initialize(target) ⇒ Object



4
5
6
7
# File 'lib/arel/visitors/bind_visitor.rb', line 4

def initialize target
  @block = nil
  super
end