るりまサーチ

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

別のキーワード

  1. argf.class each
  2. argf.class each_line
  3. argf.class lines
  4. class new
  5. argf.class to_a

ライブラリ

キーワード

検索結果

Kernel$$FILENAME -> String (119.0)

仮想ファイル Object::ARGF で現在読み込み中のファイル名です。 ARGF.class#filename と同じです。

...仮想ファイル Object::ARGF で現在読み込み中のファイル名です。
ARGF.class#filename と同じです。

この変数はグローバルスコープです。...

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

$@ の別名

...$@ の別名

require "English"
class
SomethingError < StandardError; end

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