You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: inputs.rb
    path of file: ./repos/active_interaction/lib/active_interaction
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

require 'forwardable'

module ActiveInteraction
  # Holds inputs passed to the interaction.
  class Inputs
    include Enumerable
    extend Forwardable

    # matches inputs like "key(1i)"
    GROUPED_INPUT_PATTERN = /
      \A
    
    def initialize(raw_inputs, base)
      @base = base
      @normalized_inputs = normalize(raw_inputs)
      @inputs = base.class.filters.each_with_object({}) do |(name, filter), inputs|
        inputs[name] = filter.process(@normalized_inputs[name], base)

        yield name, inputs[name] if block_given?
      end
    end