Class: Arel::Nodes::UnqualifiedColumn

Inherits:
Unary
  • Object
show all
Defined in:
lib/arel/nodes/unqualified_column.rb

Instance Attribute Summary

Attributes inherited from Unary

#expr

Instance Method Summary collapse

Methods inherited from Unary

#eql?, #hash, #initialize

Methods inherited from Node

#_caller, #and, #each, #initialize, #not, #or, #to_sql

Methods included from FactoryMethods

#create_and, #create_false, #create_join, #create_on, #create_string_join, #create_table_alias, #create_true, #grouping, #lower

Constructor Details

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

Instance Method Details

#columnObject



12
13
14
# File 'lib/arel/nodes/unqualified_column.rb', line 12

def column
  @expr.column
end

#nameObject



16
17
18
# File 'lib/arel/nodes/unqualified_column.rb', line 16

def name
  @expr.name
end

#relationObject



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

def relation
  @expr.relation
end