Class: AlgebraDB::Build::TableFrom
- Inherits:
-
Struct
- Object
- Struct
- AlgebraDB::Build::TableFrom
- Defined in:
- lib/algebra_db/build/table_from.rb
Instance Attribute Summary collapse
-
#original_table ⇒ Object
Returns the value of attribute original_table.
-
#table_alias ⇒ Object
Returns the value of attribute table_alias.
Instance Method Summary collapse
Instance Attribute Details
#original_table ⇒ Object
Returns the value of attribute original_table
3 4 5 |
# File 'lib/algebra_db/build/table_from.rb', line 3 def original_table @original_table end |
#table_alias ⇒ Object
Returns the value of attribute 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 |