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: text.rb
    path of file: ./repos/puredocx/lib/puredocx/xml_generators
    
    the code of the file until where you have to start completion: require 'cgi'

module PureDocx
  module XmlGenerators
    class Text < Base
      DEFAULT_TEXT_SIZE  = 28
      DEFAULT_TEXT_ALIGN = 'left'.freeze
   
    
      def initialize(content, rels_constructor, arguments = {})
        super(nil, rels_constructor)
        @content       = CGI.escapeHTML(content)
        @bold_enable   = [*arguments[:style]].include?(:bold)
        @italic_enable = [*arguments[:style]].include?(:italic)
        @align         = arguments[:align] || DEFAULT_TEXT_ALIGN
        @size          = arguments[:size]  || DEFAULT_TEXT_SIZE
      end