るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. csv instance
  2. _builtin instance_eval
  3. forwardable instance_delegate
  4. basicobject instance_eval
  5. forwardable def_instance_delegator

ライブラリ

検索結果

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