Class: RgGen::RegisterMap::ComponentFactory

Inherits:
InputBase::ComponentFactory show all
Defined in:
lib/rggen/core_components/register_map/component_factory.rb

Instance Attribute Summary

Attributes inherited from InputBase::ComponentFactory

#loaders

Attributes inherited from Base::ComponentFactory

#child_factory, #item_factories, #target_component

Instance Method Summary collapse

Methods inherited from InputBase::ComponentFactory

#create

Methods inherited from Base::ComponentFactory

#create, #initialize, #root_factory

Constructor Details

This class inherits a constructor from RgGen::Base::ComponentFactory

Instance Method Details

#create_component(parent, configuration, _) ⇒ Object



4
5
6
# File 'lib/rggen/core_components/register_map/component_factory.rb', line 4

def create_component(parent, configuration, _)
  @target_component.new(parent, configuration)
end