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: list_builder.rb
    path of file: ./repos/activeadmin_addons/lib/activeadmin_addons/addons
    
    the code of the file until where you have to start completion: module ActiveAdminAddons
  class ListBuilder < CustomBuilder
    def render
      options[:localize] = options.fetch(:localize, false)
  
    
    def render_array(_data)
      context.content_tag(options[:list_type]) do
        _data.each do |value|
          @level.push(value)
          if list? value
            value = render_list(value)
          elsif !!options[:localize]
            value = localized_value(model, attribute)
          end
          @level.pop
          context.concat(context.content_tag(:li, value))
        end
      end