るりまサーチ (Ruby 2.5.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.024秒)
トップページ > バージョン:2.5.0[x] > モジュール:Kernel[x] > 種類:変数[x] > ライブラリ:English[x] > クエリ:$DEFAULT_INPUT[x]

別のキーワード

  1. uri default_port
  2. _builtin default
  3. socket ai_default
  4. generic default_port
  5. socket ip_default_multicast_ttl

検索結果

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