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: vein.rb
    path of file: ./repos/rack-app/lib/rack/app/router/tree
    
    the code of the file until where you have to start completion: # frozen_string_literal: true
class Rack::App::Router::Tree::Vein < ::Hash

  def set(env)
    app = create_app(env)
    request_methods(env).ea
    
  def request_methods(env)
    request_method = env.endpoint.request_method
    case request_method || raise('missing config: request_methods')
    when Rack::App::Constants::HTTP::METHOD::ANY
      Rack::App::Constants::HTTP::METHODS
    else
      [request_method].flatten.map(&:to_sym)
    end