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

- (Object) column



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

def column
  @expr.column
end

- (Object) name



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

def name
  @expr.name
end

- (Object) relation



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

def relation
  @expr.relation
end