Class: ThinkingSphinx::ActiveRecord::Depolymorph::BaseReflection
- Inherits:
-
Object
- Object
- ThinkingSphinx::ActiveRecord::Depolymorph::BaseReflection
- Defined in:
- lib/thinking_sphinx/active_record/depolymorph/base_reflection.rb
Direct Known Subclasses
AssociationReflection, ConditionsReflection, OverriddenReflection, ScopedReflection
Instance Method Summary collapse
- #call ⇒ Object
-
#initialize(reflection, name, class_name) ⇒ BaseReflection
constructor
A new instance of BaseReflection.
Constructor Details
#initialize(reflection, name, class_name) ⇒ BaseReflection
Returns a new instance of BaseReflection.
4 5 6 7 8 9 10 |
# File 'lib/thinking_sphinx/active_record/depolymorph/base_reflection.rb', line 4 def initialize(reflection, name, class_name) @reflection = reflection @name = name @class_name = class_name @options = reflection..clone end |
Instance Method Details
#call ⇒ Object
12 13 14 |
# File 'lib/thinking_sphinx/active_record/depolymorph/base_reflection.rb', line 12 def call # Should be implemented by subclasses. end |