るりまサーチ

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

別のキーワード

  1. english $error_position
  2. kernel $error_info
  3. kernel $process_id
  4. kernel $ignorecase

ライブラリ

検索結果

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

$@ の別名

...$@ の別名

require "English"
class SomethingError < StandardError; end

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