るりまサーチ (Ruby 2.6.0)

最速Rubyリファレンスマニュアル検索!
1件ヒット [1-1件を表示] (0.043秒)

別のキーワード

  1. kernel $default_input
  2. kernel $program_name
  3. kernel $default_output
  4. kernel $load_path
  5. kernel $child_status

ライブラリ

検索結果

Kernel$$DEFAULT_OUTPUT -> IO (99718.0)

$> の別名

$> の別名

require "English"

dout = $DEFAULT_OUTPUT.dup
$DEFAULT_OUTPUT.reopen("out.txt", "w")
print "foo"
$DEFAULT_OUTPUT.close
$DEFAULT_OUTPUT = dout
p "bar" # => bar
p File.read("out.txt") #=> foo