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: search_method_select.rb
    path of file: ./repos/activeadmin/lib/active_admin/inputs/filters/base
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
# This is a common set of Formtastic overrides needed to build a filter form
# that lets you select from a set of search methods for a gi
    
          def to_html
            input_wrapping do
              [
                label_html, # your label
                '<div class="filters-form-input-group">',
                select_html, # the dropdown that holds the available search methods
                input_html, # your input field
                '</div>'
              ].join("\n").html_safe
            end
          end