Class: ActiveRecord::Associations::AssociationScope::ReflectionProxy

Inherits:
SimpleDelegator
  • Object
show all
Defined in:
activerecord/lib/active_record/associations/association_scope.rb

Overview

:nodoc:

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(reflection, alias_name) ⇒ ReflectionProxy

Returns a new instance of ReflectionProxy.


100
101
102
103
# File 'activerecord/lib/active_record/associations/association_scope.rb', line 100

def initialize(reflection, alias_name)
  super(reflection)
  @alias_name = alias_name
end

Instance Attribute Details

#alias_nameObject (readonly)

Returns the value of attribute alias_name


98
99
100
# File 'activerecord/lib/active_record/associations/association_scope.rb', line 98

def alias_name
  @alias_name
end

#nextObject

Returns the value of attribute next


97
98
99
# File 'activerecord/lib/active_record/associations/association_scope.rb', line 97

def next
  @next
end

Instance Method Details

#all_includesObject


105
# File 'activerecord/lib/active_record/associations/association_scope.rb', line 105

def all_includes; nil; end