Class: ActiveRecord::Associations::JoinDependency::Aliases::Column

Inherits:
Struct
  • Object
show all
Defined in:
activerecord/lib/active_record/associations/join_dependency.rb

Instance Attribute Summary collapse

Method Summary

Methods inherited from Struct

#as_json

Instance Attribute Details

#aliasObject

Returns the value of attribute alias

Returns:

  • (Object)

    the current value of alias



40
41
42
# File 'activerecord/lib/active_record/associations/join_dependency.rb', line 40

def alias
  @alias
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



40
41
42
# File 'activerecord/lib/active_record/associations/join_dependency.rb', line 40

def name
  @name
end