るりまサーチ (Ruby 2.2.0)

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

別のキーワード

  1. kernel $child_status
  2. kernel $error_info
  3. kernel $load_path
  4. kernel $error_position
  5. kernel $ofs

ライブラリ

検索結果

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

$@ の別名

$@ の別名

require "English"
class SomethingError < StandardError; end

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