Ruby 3.3 リファレンスマニュアル

instance method CGI::QueryExtension#path_info

path_info -> StringRuby 4.0 で削除[permalink][rdoc][edit]

ENV['PATH_INFO'] を返します。