るりまサーチ (Ruby 2.3.0)

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

別のキーワード

  1. english $ofs
  2. kernel $filename
  3. kernel $verbose
  4. kernel $stdin
  5. kernel $match

ライブラリ

検索結果

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

$@ の別名

$@ の別名

require "English"
class SomethingError < StandardError; end

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