Module: Arel::Recursion::BaseCase

Included in:
Alias, Array, Externalization, Table
Defined in:
lib/arel/engines/sql/relations/utilities/recursion.rb

Instance Method Summary collapse

Instance Method Details

#tableObject



4
5
6
# File 'lib/arel/engines/sql/relations/utilities/recursion.rb', line 4

def table
  self
end

#table_sql(formatter = Sql::TableReference.new(self)) ⇒ Object



8
9
10
# File 'lib/arel/engines/sql/relations/utilities/recursion.rb', line 8

def table_sql(formatter = Sql::TableReference.new(self))
  formatter.table self
end