るりまサーチ (Ruby 3.2)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.244秒)
トップページ > クエリ:Kernel.#p[x] > クエリ:putc[x] > クエリ:httpd[x] > クエリ:xmp[x] > クエリ:hex[x] > クエリ:irb/xmp[x] > バージョン:3.2[x] > クラス:LoadError[x]

別のキーワード

  1. irb/xmp xmp
  2. un httpd
  3. kernel httpd
  4. kernel xmp
  5. irb/xmp new

ライブラリ

検索結果

LoadError#path -> String | nil (18400.0)

Kernel.#require や Kernel.#load に失敗したパスを返します。

...Kernel.#require や Kernel.#load に失敗したパスを返します。

begin
require 'this/file/does/not/exist'
rescue LoadError => e
e.path # => 'this/file/does/not/exist'
end

パスが定まらない場合は nil を返します。...