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: entries.rb
    path of file: ./repos/devdocs/lib/docs/filters/terraform
    
    the code of the file until where you have to start completion: module Docs
  class Terraform
    class EntriesFilter < Docs::EntriesFilter

      # 
    
      def get_type
        category, subcategory, subfolder, page = *slug.split('/')
        provider = page ? subcategory : category
        nice_provider = PROVIDER_NAME_MAP[provider] || provider.capitalize

        if LARGE_PROVIDERS[provider]
          category_node = at_css('ul > li > ul > li.active')
          parent_node = category_node.parent.previous_element if category_node
          nice_provider = nice_provider + ": #{parent_node.content}" if category_node
        end