Class: AlgebraDB::Build::TableFrom

Inherits:
Struct
  • Object
show all
Defined in:
lib/algebra_db/build/table_from.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#original_tableObject

Returns the value of attribute original_table

Returns:

  • (Object)

    the current value of original_table



3
4
5
# File 'lib/algebra_db/build/table_from.rb', line 3

def original_table
  @original_table
end

#table_aliasObject

Returns the value of attribute table_alias

Returns:

  • (Object)

    the current value of table_alias



3
4
5
# File 'lib/algebra_db/build/table_from.rb', line 3

def table_alias
  @table_alias
end

Instance Method Details

#render_syntax(builder) ⇒ Object



4
5
6
7
# File 'lib/algebra_db/build/table_from.rb', line 4

def render_syntax(builder)
  builder.text(original_table.to_s)
  builder.text(table_alias.to_s)
end