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: mkconfig.rb
    path of file: ./repos/roma/lib/roma/tools
    
    the code of the file until where you have to start completion: require 'pathname'
require 'yaml'
require 'fileutils'

module Roma

  class Mkconfig
    TREE_TOP = "menu"
    LIB_PATH = Pathname(__FILE
    
    def skip_menu!(menu)
      # in case of "-m" or "--with_menu" option was used
      if menu == :with_menu
        return Proc.new do
          if @next_hash == "server" && @results["fd_server"]
            @next_hash = @base["server"]["next"]
          elsif @next_hash == "fd_server" && @results["server"]
            @next_hash = "fd_client"
          elsif @next_hash == "check_plugin" && @results["plugin"].value.include?("plugin_storage.rb")
            @next_hash = "menu"
          end
        end