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: version_parser.rb
    path of file: ./repos/apidoco/lib/apidoco
    
    the code of the file until where you have to start completion: module Apidoco
  # Parses the documentation versions, keeps track of all the documented api versions
  class Versi
    
    def documentation(version)
      documentations.find { |doc| doc.version.eql?(version) }
    end

    private

    def documentation_directories
      base_path.children.select(&:directory?)
    end
  end