Class: Arel::Nodes::TableAlias

Inherits:
Binary show all
Defined in:
lib/arel/nodes/table_alias.rb

Instance Attribute Summary

Attributes inherited from Binary

#left, #right

Instance Method Summary collapse

Methods inherited from Binary

#initialize

Methods inherited from Node

#and, #each, #not, #or, #to_sql

Constructor Details

This class inherits a constructor from Arel::Nodes::Binary

Instance Method Details

#[](name) ⇒ Object



8
9
10
# File 'lib/arel/nodes/table_alias.rb', line 8

def [] name
  Attribute.new self, name
end