Class: RgGen::RegisterMap::Component
- Inherits:
-
InputBase::Component
- Object
- Base::Component
- InputBase::Component
- RgGen::RegisterMap::Component
- Includes:
- Base::HierarchicalAccessors
- Defined in:
- lib/rggen/core_components/register_map/component.rb
Instance Attribute Summary collapse
-
#configuration ⇒ Object
readonly
Returns the value of attribute configuration.
Attributes inherited from Base::Component
#children, #items, #level, #parent
Instance Method Summary collapse
-
#initialize(parent, configuration) ⇒ Component
constructor
A new instance of Component.
Methods inherited from InputBase::Component
#add_item, #fields, #need_no_children, #validate
Methods inherited from Base::Component
#add_child, #add_item, #need_children?
Methods included from SingleForwardable
#def_object_delegator, #def_object_delegators
Constructor Details
#initialize(parent, configuration) ⇒ Component
Returns a new instance of Component.
6 7 8 9 10 |
# File 'lib/rggen/core_components/register_map/component.rb', line 6 def initialize(parent, configuration) super(parent) @configuration = configuration define_hierarchical_accessors end |
Instance Attribute Details
#configuration ⇒ Object (readonly)
Returns the value of attribute configuration.
12 13 14 |
# File 'lib/rggen/core_components/register_map/component.rb', line 12 def configuration @configuration end |