るりまサーチ

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

別のキーワード

  1. english $ofs
  2. kernel $8
  3. kernel $9
  4. kernel $6
  5. kernel $7

ライブラリ

クラス

モジュール

検索結果

Kernel$$DEFAULT_OUTPUT -> IO (18225.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...

CGI#print(*strings) (6206.0)

@todo

...@todo

引数の文字列を標準出力に出力します。
cgi.print は $DEFAULT_OUTPUT.print と等価です。

例:
cgi = CGI.new
cgi.print "This line is a part of content body.\r\n"...