Class: RgGen::Core::InputBase::ComponentFactory
- Inherits:
-
Base::ComponentFactory
- Object
- Base::ComponentFactory
- RgGen::Core::InputBase::ComponentFactory
- Defined in:
- lib/rggen/core/input_base/component_factory.rb
Direct Known Subclasses
Configuration::ComponentFactory, RegisterMap::ComponentFactory
Instance Attribute Summary
Attributes inherited from Base::ComponentFactory
Class Method Summary collapse
- .disable_no_children_error ⇒ Object
- .enable_no_children_error ⇒ Object
- .enable_no_children_error? ⇒ Boolean
Methods inherited from Base::ComponentFactory
#create, #initialize, #root_factory
Constructor Details
This class inherits a constructor from RgGen::Core::Base::ComponentFactory
Class Method Details
.disable_no_children_error ⇒ Object
12 13 14 |
# File 'lib/rggen/core/input_base/component_factory.rb', line 12 def disable_no_children_error @enable_no_children_error = false end |
.enable_no_children_error ⇒ Object
8 9 10 |
# File 'lib/rggen/core/input_base/component_factory.rb', line 8 def enable_no_children_error @enable_no_children_error = true end |
.enable_no_children_error? ⇒ Boolean
16 17 18 |
# File 'lib/rggen/core/input_base/component_factory.rb', line 16 def enable_no_children_error? @enable_no_children_error.nil? || @enable_no_children_error end |