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: caption.rb
    path of file: ./repos/govuk-form-builder/lib/govuk_design_system_formbuilder/elements
    
    the code of the file until where you have to start completion: module GOVUKDesignSystemFormBuilder
  module Elements
    class Caption < Base
      include Traits::Localisation
      include Traits::HTMLAttributes
      include Tra
    
      def initialize(builder, object_name, attribute_name, text: nil, size: config.default_caption_size, **kwargs)
        super(builder, object_name, attribute_name)

        @text            = text(text)
        @size_class      = size_class(size)
        @html_attributes = kwargs
      end