Class: Essay::AssociationFeatures
- Inherits:
-
AbstractFeatures
- Object
- AbstractFeatures
- Essay::AssociationFeatures
- Includes:
- AssociationHelper
- Defined in:
- lib/essay/association/association_features.rb
Defined Under Namespace
Classes: Base
Instance Attribute Summary
Attributes inherited from AbstractFeatures
Instance Method Summary collapse
-
#initialize(env) ⇒ AssociationFeatures
constructor
A new instance of AssociationFeatures.
Methods included from AssociationHelper
#association_name, #association_traits
Methods included from SerializeHelper
Methods included from FeatureHelper
Methods included from ModelHelper
#model_associations, #model_attributes, #model_class, #model_features, #model_traits
Constructor Details
#initialize(env) ⇒ AssociationFeatures
Returns a new instance of AssociationFeatures.
9 10 11 12 |
# File 'lib/essay/association/association_features.rb', line 9 def initialize(env) super @association_name = env.fetch(:association_name) end |