るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.092秒)
トップページ > バージョン:2.6.0[x] > クエリ:Kernel.#p[x] > クエリ:JSON[x] > クエリ:select[x] > クエリ:format[x] > クエリ:rb_load[x] > クラス:LoadError[x]

別のキーワード

  1. _builtin select
  2. json to_json
  3. _builtin select!
  4. dbm select
  5. json state

ライブラリ

検索結果

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