るりまサーチ

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

別のキーワード

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

ライブラリ

モジュール

検索結果

Kernel$$DEFAULT_INPUT -> IO (18119.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"
......