taichi-ishitani/rggen

View on GitHub
lib/rggen/core_components/register_map/bit_field_factory.rb

Summary

Maintainability
A
0 mins
Test Coverage
module RgGen
  module RegisterMap
    class BitFieldFactory < ComponentFactory
      def create_active_items(bit_field, cells)
        active_item_factories.each_value.with_index do |factory, index|
          create_item(factory, bit_field, cells[index])
        end
      end
    end
  end
end