Class: CaseForm::Element::DestructorHandle

Inherits:
Handle
  • Object
show all
Defined in:
lib/case_form/element/nested_models/handles/destructor_handle.rb

Constant Summary

Constants inherited from Base

Base::HTML_OPTIONS

Instance Attribute Summary

Attributes inherited from Base

#builder, #options

Instance Method Summary collapse

Methods inherited from Base

#initialize

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

#generateObject



7
8
9
# File 'lib/case_form/element/nested_models/handles/destructor_handle.rb', line 7

def generate
  send("destroy_#{handle_type}")
end