Methods

Class/Module Index [+]

Quicksearch

Arel::Visitors::ToSql

Attributes

last_column[RW]

Public Class Methods

new(connection) click to toggle source
# File lib/arel/visitors/to_sql.rb, line 9
def initialize connection
  @connection     = connection
  @schema_cache   = connection.schema_cache
  @quoted_tables  = {}
  @quoted_columns = {}
  @last_column    = nil
end

Public Instance Methods

accept(object) click to toggle source
# File lib/arel/visitors/to_sql.rb, line 17
def accept object
  self.last_column = nil
  super
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.