Class: ActiveRecord::Associations::AssociationScope::ReflectionProxy
- Inherits:
-
SimpleDelegator
- Object
- SimpleDelegator
- ActiveRecord::Associations::AssociationScope::ReflectionProxy
- Defined in:
- lib/active_record/associations/association_scope.rb
Overview
:nodoc:
Instance Attribute Summary collapse
-
#alias_name ⇒ Object
readonly
Returns the value of attribute alias_name.
-
#next ⇒ Object
Returns the value of attribute next.
Instance Method Summary collapse
- #all_includes ⇒ Object
-
#initialize(reflection, alias_name) ⇒ ReflectionProxy
constructor
A new instance of ReflectionProxy.
Constructor Details
#initialize(reflection, alias_name) ⇒ ReflectionProxy
Returns a new instance of ReflectionProxy.
102 103 104 105 |
# File 'lib/active_record/associations/association_scope.rb', line 102 def initialize(reflection, alias_name) super(reflection) @alias_name = alias_name end |
Instance Attribute Details
#alias_name ⇒ Object (readonly)
Returns the value of attribute alias_name.
100 101 102 |
# File 'lib/active_record/associations/association_scope.rb', line 100 def alias_name @alias_name end |
#next ⇒ Object
Returns the value of attribute next.
99 100 101 |
# File 'lib/active_record/associations/association_scope.rb', line 99 def next @next end |
Instance Method Details
#all_includes ⇒ Object
107 |
# File 'lib/active_record/associations/association_scope.rb', line 107 def all_includes; nil; end |