476件ヒット
[1-100件を表示]
(0.179秒)
ライブラリ
- ビルトイン (132)
-
irb
/ context (11) -
irb
/ output-method (88) -
net
/ http (11) - nkf (11)
- prettyprint (33)
- rake (22)
-
rexml
/ document (11) - shell (15)
-
shell
/ process-controller (6) - win32ole (33)
- zlib (11)
クラス
-
Encoding
:: Converter (55) - IO (77)
-
IRB
:: Context (11) -
IRB
:: OutputMethod (55) -
IRB
:: StdioOutputMethod (11) -
Net
:: HTTP (11) - PrettyPrint (33)
-
RDoc
:: Options (11) -
REXML
:: Attribute (11) - Shell (15)
-
Shell
:: ProcessController (6) -
WIN32OLE
_ PARAM (33)
モジュール
- Rake (22)
キーワード
-
NEWS for Ruby 3
. 0 . 0 (4) - NKF (11)
- OutputMethod (11)
- StdioOutputMethod (11)
- ZStream (11)
- application (11)
- application= (11)
-
block
_ output _ synchronize (6) -
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ synchronize (6) -
debug
_ output _ unlock (6) -
force
_ output (11) - format (11)
- input? (11)
-
insert
_ output (11) -
irb
/ output-method (11) - new (11)
- output? (11)
- popen (77)
- pp (11)
- ppx (11)
- prettyprint (11)
-
primitive
_ convert (44) - print (22)
- printn (11)
- puts (11)
- rdoc (11)
- retval? (11)
-
ruby 1
. 8 . 3 feature (11) -
ruby 1
. 9 feature (11) -
rubygems
/ commands / specification _ command (11) -
rubygems
/ security (11) -
set
_ debug _ output (11) -
singleline
_ format (11) - write (11)
検索結果
先頭5件
-
IRB
:: StdioOutputMethod (35000.0) -
標準出力を表すクラスです。ライブラリ内部で使用します。
標準出力を表すクラスです。ライブラリ内部で使用します。 -
IRB
:: OutputMethod # print(*objs) (32200.0) -
NotImplementedError が発生します。
...NotImplementedError が発生します。
@param objs 任意のオブジェクトを指定します。
@raise NotImplementedError 必ず発生します。... -
IRB
:: OutputMethod # printn(*objs) -> nil (32200.0) -
各 obj を self に出力し、最後に改行を出力します。
...各 obj を self に出力し、最後に改行を出力します。
@param objs 任意のオブジェクトを指定します。... -
IRB
:: StdioOutputMethod # print(*objs) -> nil (32200.0) -
引数を標準出力に出力します。
...引数を標準出力に出力します。
@param objs 任意のオブジェクトを指定します。... -
IRB
:: OutputMethod (32000.0) -
抽象的な出力を表すクラスです。ライブラリ内部で使用します。
抽象的な出力を表すクラスです。ライブラリ内部で使用します。 -
IRB
:: OutputMethod # ppx(prefix , *objs) -> object (29300.0) -
引数 prefix + 各 obj を inspect した文字列を self に出力し、最後に改行 を出力します。
...引数 prefix + 各 obj を inspect した文字列を self に出力し、最後に改行
を出力します。
@param prefix 各 obj の先頭に追記する文字列を指定します。
@param objs 任意のオブジェクトを指定します。... -
IRB
:: OutputMethod # pp(*objs) -> object (29200.0) -
各 obj を inspect した文字列を self に出力し、最後に改行を出力します。
...各 obj を inspect した文字列を self に出力し、最後に改行を出力します。
@param objs 任意のオブジェクトを指定します。... -
IRB
:: OutputMethod # puts(*objs) -> object (29200.0) -
各 obj を self に出力し、それぞれの後に改行を出力します。
...各 obj を self に出力し、それぞれの後に改行を出力します。
@param objs 任意のオブジェクトを指定します。... -
IRB
:: Context . new(irb , workspace = nil , input _ method = nil , output _ method = nil) -> IRB :: Context (26407.0) -
自身を初期化します。
...を初期化します。
@param irb IRB::Irb オブジェクトを指定します。
@param workspace IRB::WorkSpace オブジェクトを指定します。省略し
た場合は新しく作成されます。
@param input_method String、IRB::InputMethod のサブクラスの......オブジェクト、nil のいずれかを指定します。
@param output_method IRB::OutputMethod のサブクラスのオブジェクト
を指定します。省略した場合は
IRB::StdioOutputMethod オブジェクトが新しく... -
IO
. popen("-" , mode = "r" , opt={}) {|io| . . . } -> object (23224.0) -
第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。
...スでは IO オブジェクトを返し、子プロセスでは
nil を返します。
io = IO.popen("-", "r+")
if io # parent
io.puts "foo"
p io.gets # => "child output: foo\n"
io.close
else # child
s = gets
print "child output: " + s
exit
end......た IO オブジェクトを引数に
ブロックを実行し、その結果を返します。ブロックの実行後、生成したパイ
プは自動的にクローズされます。
子プロセスでは nil を引数にブロックを実行し終了します。
p IO.popen("-", "r+") {|io|......if io # parent
io.puts "foo"
io.gets
else # child
s = gets
puts "child output: " + s
end
}
# => "child output: foo\n"
opt ではエンコーディングの設定やプロセス起動のためのオプションが指定できます。
IO.new や Kernel.#...