Class: HideAncestry::ModelManage::Hide
- Defined in:
- lib/hide_ancestry/model_manage/hide.rb
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Constructor Details
This class inherits a constructor from HideAncestry::ModelManage::Base
Instance Method Details
#call ⇒ Object
4 5 6 7 8 9 10 11 12 |
# File 'lib/hide_ancestry/model_manage/hide.rb', line 4 def call instance.reload change_hidden_status(true) save_parent_id save_child_ids orphan_children clean_ancestry end |