Class: Arel::Visitors::SQLServerNG::BindCollectorProxy
- Inherits:
-
ActiveRecord::ConnectionAdapters::AbstractAdapter::BindCollector
- Object
- ActiveRecord::ConnectionAdapters::AbstractAdapter::BindCollector
- Arel::Visitors::SQLServerNG::BindCollectorProxy
show all
- Defined in:
- lib/arel/visitors/sql_server/ng42.rb
Instance Method Summary
collapse
Constructor Details
Returns a new instance of BindCollectorProxy.
247
|
# File 'lib/arel/visitors/sql_server/ng42.rb', line 247
def initialize(collector, block); @delegate = collector; @block = block end
|
Dynamic Method Handling
This class handles dynamic methods through the method_missing method
#method_missing(name, *args, &block) ⇒ Object
263
|
# File 'lib/arel/visitors/sql_server/ng42.rb', line 263
def method_missing(name, *args, &block); @delegate.send(name, args, &block) end
|
Instance Method Details
#<<(str) ⇒ Object
249
|
# File 'lib/arel/visitors/sql_server/ng42.rb', line 249
def << str; @delegate << str; self end
|
#add_bind(bind) ⇒ Object
251
|
# File 'lib/arel/visitors/sql_server/ng42.rb', line 251
def add_bind bind; @delegate.add_bind bind; self end
|
#compile(bvs, conn) ⇒ Object
def substitute_binds bvs; @delegate.substitute_binds(bvs); self end
257
258
259
|
# File 'lib/arel/visitors/sql_server/ng42.rb', line 257
def compile(bvs, conn)
_yield_str @delegate.compile(bvs, conn)
end
|
#value ⇒ Object
253
|
# File 'lib/arel/visitors/sql_server/ng42.rb', line 253
def value; @delegate.value; end
|