るりまサーチ

最速Rubyリファレンスマニュアル検索!
22件ヒット [1-22件を表示] (0.204秒)
トップページ > クエリ:i[x] > クエリ:l[x] > クエリ:a[x] > クエリ:record_separator[x] > クエリ:$RS[x]

別のキーワード

  1. _builtin to_a
  2. matrix to_a
  3. to_a
  4. argf.class to_a
  5. rexml/document to_a

ライブラリ

モジュール

検索結果

Kernel$$RS -> String | nil (27308.0)

$/ の別名

...$/ の別名

require "English"

$INPUT_RECORD_SEPARATOR = '|'
a
rray = []
while line = DATA.gets
a
rray << line
end
p array #=> ["ugo|", "ego|", "fogo\n"]

__END__
ugo|ego|fogo...

Kernel$$INPUT_RECORD_SEPARATOR -> String | nil (21508.0)

$/ の別名

...$/ の別名

require "English"

$INPUT_RECORD_SEPARATOR = '|'
a
rray = []
while line = DATA.gets
a
rray << line
end
p array #=> ["ugo|", "ego|", "fogo\n"]

__END__
ugo|ego|fogo...