るりまサーチ

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

別のキーワード

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

ライブラリ

検索結果

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

$@ の別名

...$@ の別名

require "English"
class SomethingError < StandardError; end

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