Class: CaseForm::Element::GeneratorHandle
- Includes:
- CaseForm::ElementExt::Associationable
- Defined in:
- lib/case_form/element/nested_models/handles/generator_handle.rb
Constant Summary
Constants inherited from Base
Instance Attribute Summary collapse
-
#method ⇒ Object
Returns the value of attribute method.
Attributes inherited from Base
Instance Method Summary collapse
- #generate ⇒ Object
-
#initialize(builder, method, options = {}) ⇒ GeneratorHandle
constructor
A new instance of GeneratorHandle.
Methods included from CaseForm::ElementExt::Associationable
#association, #association_class, #association_human_model_name, #association_method, #association_type?, #associationable?, #collection_association?, #one_to_one_association?, #specific_method, #validate_nested_attributes_association
Methods included from CaseForm::ElementExt::Naming
#object_human_model_name, #sanitized_object_name, #singularize_model_name
Constructor Details
#initialize(builder, method, options = {}) ⇒ GeneratorHandle
Returns a new instance of GeneratorHandle.
11 12 13 14 |
# File 'lib/case_form/element/nested_models/handles/generator_handle.rb', line 11 def initialize(builder, method, ={}) @method = method super(builder, ) end |
Instance Attribute Details
#method ⇒ Object
Returns the value of attribute method.
9 10 11 |
# File 'lib/case_form/element/nested_models/handles/generator_handle.rb', line 9 def method @method end |