Class: CaseForm::Element::DestructorHandle
- Defined in:
- lib/case_form/element/nested_models/handles/destructor_handle.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary
Attributes inherited from Base
Instance Method Summary collapse
Methods inherited from Base
Methods included from CaseForm::ElementExt::Naming
#object_human_model_name, #sanitized_object_name, #singularize_model_name
Constructor Details
This class inherits a constructor from CaseForm::Element::Base
Instance Method Details
#generate ⇒ Object
7 8 9 |
# File 'lib/case_form/element/nested_models/handles/destructor_handle.rb', line 7 def generate send("destroy_#{handle_type}") end |