Class: Essay::AttributeFeatures
- Inherits:
-
AbstractFeatures
- Object
- AbstractFeatures
- Essay::AttributeFeatures
- Includes:
- AttributeHelper
- Defined in:
- lib/essay/attribute/attribute_features.rb
Defined Under Namespace
Classes: Base
Instance Attribute Summary
Attributes inherited from AbstractFeatures
Instance Method Summary collapse
-
#initialize(env) ⇒ AttributeFeatures
constructor
A new instance of AttributeFeatures.
Methods included from AttributeHelper
#attribute_name, #attribute_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) ⇒ AttributeFeatures
Returns a new instance of AttributeFeatures.
9 10 11 12 |
# File 'lib/essay/attribute/attribute_features.rb', line 9 def initialize(env) super @attribute_name = env.fetch(:attribute_name) end |