2件ヒット
[1-2件を表示]
(0.064秒)
モジュール
- Kernel (2)
キーワード
-
$ ERROR _ POSITION (1) -
$ POSTMATCH (1)
検索結果
-
Kernel
$ $ ERROR _ POSITION -> [String] | nil (36910.0) -
$@ の別名
...$@ の別名
require "English"
class SomethingError < StandardError; end
begin
raise SomethingError
rescue
p $ERROR_POSITION #=> ["sample.rb:5"]
end... -
Kernel
$ $ POSTMATCH -> String | nil (18910.0) -
$' の別名
...$' の別名
require "English"
str = 'hoge,foo,bar,hee,hoo'
/foo/ =~ str
p $POSTMATCH #=> ",bar,hee,hoo"...