Module: Serega::SeregaPlan::InstanceMethods
- Included in:
- Serega::SeregaPlan
- Defined in:
- lib/serega/plan.rb
Overview
SeregaPlan instance methods
Instance Attribute Summary collapse
-
#parent_plan_point ⇒ SeregaPlanPoint?
Parent plan point.
-
#points ⇒ Array<SeregaPlanPoint>
readonly
Serialization points.
Instance Method Summary collapse
-
#initialize(modifiers) ⇒ SeregaPlan
Instantiate new serialization plan.
-
#serializer_class ⇒ Object
Serializer class of current plan.
Instance Attribute Details
#parent_plan_point ⇒ SeregaPlanPoint?
Parent plan point
62 63 64 |
# File 'lib/serega/plan.rb', line 62 def parent_plan_point @parent_plan_point end |
#points ⇒ Array<SeregaPlanPoint> (readonly)
Serialization points
70 71 72 |
# File 'lib/serega/plan.rb', line 70 def points @points end |
Instance Method Details
#initialize(modifiers) ⇒ SeregaPlan
Instantiate new serialization plan.
82 83 84 |
# File 'lib/serega/plan.rb', line 82 def initialize(modifiers) @points = attributes_points(modifiers) end |
#serializer_class ⇒ Object
Serializer class of current plan
89 90 91 |
# File 'lib/serega/plan.rb', line 89 def serializer_class self.class.serializer_class end |