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/mongoose
    
    the code of the file until where you have to start completion: module Docs
  class Mongoose
    class EntriesFilter < Docs::EntriesFilter
      def get_name
        at_css('h1').content
      end

      def get_typ
    
      def get_type_from node
        name = node.content.strip
        type = name.split(/[#\.\(]/).first
        if type.empty? || name.include?(' ')
          nil
        else
          type
        end