2件ヒット
[1-2件を表示]
(0.035秒)
別のキーワード
検索結果
-
Kernel
$ $ DEFAULT _ OUTPUT -> IO (72751.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) (37.0) -
@todo
@todo
引数の文字列を標準出力に出力します。
cgi.print は $DEFAULT_OUTPUT.print と等価です。
例:
cgi = CGI.new
cgi.print "This line is a part of content body.\r\n"