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/underscore
    
    the code of the file until where you have to start completion: module Docs
  class Underscore
    class EntriesFi
    
      def additional_entries
        entries = []
        type = nil

        css('[id]').each do |node|
          # Module
          if node.name == 'h2'
            type = node.content.split.first
            next
          end

          # Method
          node.css('.header', '.alias b').each do |header|
            prefix = header.ancestors('p').first.at_css('code').content[/\A[^\.]+\./].strip
            header.content.split(',').each do |name|
              name.strip!
              name.prepend(prefix)
              entries << [name, node['id'], type]
            end
          end
        end