るりまサーチ (Ruby 2.4.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.025秒)
トップページ > バージョン:2.4.0[x] > クエリ:Class[x] > クエリ:on[x] > クエリ:$ERROR_POSITION[x]

別のキーワード

  1. _builtin $load_path
  2. _builtin $kcode
  3. _builtin $4
  4. _builtin $5
  5. _builtin $3

ライブラリ

モジュール

検索結果

Kernel$$ERROR_POSITION -> [String] | nil (72640.0)

$@ の別名

$@ の別名

require "English"
class SomethingError < StandardError; end

begin
raise SomethingError
rescue
p $ERROR_POSITION #=> ["sample.rb:5"]
end