Class: Arel::Visitors::Ruby
- Inherits:
-
Visitor
- Object
- Visitor
- Arel::Visitors::Ruby
- Defined in:
- lib/arel/visitors/ruby.rb
Instance Method Summary collapse
-
#initialize ⇒ Ruby
constructor
A new instance of Ruby.
Constructor Details
#initialize ⇒ Ruby
Returns a new instance of Ruby.
7 8 9 10 |
# File 'lib/arel/visitors/ruby.rb', line 7 def initialize @connection = Object.new.extend(ActiveRecord::ConnectionAdapters::Quoting) @dummy_column = Struct.new(:type).new end |