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, #to_h

Instance Attribute Details

#aliasObject

Returns the value of attribute alias

Returns:

  • (Object)

    the current value of alias



45
46
47
# File 'activerecord/lib/active_record/associations/join_dependency.rb', line 45

def alias
  @alias
end

#nameObject

Returns the value of attribute name

Returns:

  • (Object)

    the current value of name



45
46
47
# File 'activerecord/lib/active_record/associations/join_dependency.rb', line 45

def name
  @name
end