Module: Serega::SeregaPlugins::DepthLimit::PlanInstanceMethods

Defined in:
lib/serega/plugins/depth_limit/depth_limit.rb

Overview

SeregaPlan additional/patched instance methods

See Also:

Instance Method Summary collapse

Instance Method Details

#initialize(parent_plan_point) ⇒ Object

Initializes serialization plan Overrides original method (adds depth_limit validation)



145
146
147
148
# File 'lib/serega/plugins/depth_limit/depth_limit.rb', line 145

def initialize(parent_plan_point, *)
  check_depth_limit_exceeded(parent_plan_point)
  super
end