るりまサーチ

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

別のキーワード

  1. kernel $process_id
  2. kernel $load_path
  3. kernel $program_name
  4. kernel $default_input
  5. kernel $error_info

ライブラリ

モジュール

検索結果

Kernel$$DEFAULT_INPUT -> IO (24219.0)

$< の別名

...$< の別名

require "English"
while line = $DEFAULT_INPUT.gets
p line
end

# end of sample.rb

ruby sample.rb < /etc/passwd
# => "hoge:x:500:501::/home/hoge:/bin/bash\n"
......