るりまサーチ (Ruby 3.3)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.060秒)
トップページ > クエリ:Kernel.#p[x] > クエリ:gets[x] > クエリ:$ARGV[x] > クエリ:autoload?[x] > クエリ:$MATCH[x] > クエリ:open-uri[x] > クエリ:Continuation[x] > バージョン:3.3[x] > クラス:LoadError[x]

別のキーワード

  1. _builtin autoload?
  2. _builtin autoload
  3. kernel $error_position
  4. kernel $default_output
  5. kernel $input_record_separator

ライブラリ

検索結果

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 を返します。...