module Arel::Visitors::BindVisitor

Public Class Methods

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

Public Instance Methods

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