るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method gets
  4. irb/input-method new
  5. matrix -

ライブラリ

クラス

キーワード

検索結果

<< 1 2 3 > >>

PrettyPrint#output -> object (21318.0)

自身の output を返します。

...自身の output を返します。...

PrettyPrint.singleline_format(output = &#39;&#39;, maxwidth = 79, newline = "\n", genspace = lambda{|n| &#39; &#39; * n}) {|pp| ...} -> object (15614.0)

PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 PrettyPrint.format に似ていますが、改行しません。

...PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。
PrettyPrint.format に似ていますが、改行しません。

引数 maxwidth, newline と genspace は無視されます。ブロック中の breakable の実行は、
改行せずに text...
...の実行であるかのように扱います。

@param output 出力先を指定します。output は << メソッドを持っていなければなりません。

@param maxwidth 無視されます。

@param newline 無視されます。

@param genspace 無視されます。...

WIN32OLE_PARAM#input? -> bool (9218.0)

パラメータがクライアントからサーバへ与えるものかを判定します。

...ます。

OLEオートメーションのパラメータは、in(クライアントからサーバへ与える。
WIN32OLE_PARAM#input?が真)、out(サーバがクライアントへ与える。
WIN32OLE_PARAM#output?が真)および、inout(クライアントからサーバ
へ与え、サー...
...を持ち
ます。

i
nput?メソッドはin属性またはinout属性なら真を返します。

@return メソッドの方向属性がinまたはinoutならば真を返します。

tobj = WIN32OLE_TYPE.new('Microsoft Excel 9.0 Object Library', 'Workbook')
method = WIN32OLE_METHOD.new(tobj,...
...'SaveAs')
param1 = method.params[0]
puts param1.input? # => true

@see http://msdn.microsoft.com/en-us/library/aa367051(v=VS.85).aspx...

REXML::Attribute#write(output, indent = -1) -> object (6431.0)

output に self の情報を name='value' という形式で書き込みます。

...output に self の情報を name='value' という形式で書き込みます。

output
が返ります。

@param output 書き込み先の IO オブジェクト
@param indent インデントレベル、ここでは無視される...

IRB::OutputMethod#ppx(prefix, *objs) -> object (6301.0)

引数 prefix + 各 obj を inspect した文字列を self に出力し、最後に改行 を出力します。

...引数 prefix + 各 obj を inspect した文字列を self に出力し、最後に改行
を出力します。

@param prefix 各 obj の先頭に追記する文字列を指定します。

@param objs 任意のオブジェクトを指定します。...

絞り込み条件を変える

IRB::OutputMethod#pp(*objs) -> object (6201.0)

各 obj を inspect した文字列を self に出力し、最後に改行を出力します。

...各 obj を inspect した文字列を self に出力し、最後に改行を出力します。

@param objs 任意のオブジェクトを指定します。...

IRB::OutputMethod#puts(*objs) -> object (6201.0)

各 obj を self に出力し、それぞれの後に改行を出力します。

各 obj を self に出力し、それぞれの後に改行を出力します。

@param objs 任意のオブジェクトを指定します。

PrettyPrint.format(output = &#39;&#39;, maxwidth = 79, newline = "\n", genspace = lambda{|n| &#39; &#39; * n}) {|pp| ...} -> object (3442.0)

PrettyPrint オブジェクトを生成し、それを引数としてブロックを実行します。 与えられた output を返します。

...int オブジェクトを生成し、それを引数としてブロックを実行します。
与えられた output を返します。

以下と同じ働きをするもので簡便のために用意されています。

//emlist[][ruby]{
require 'prettyprint'

begin
pp = PrettyPrint.new(output...
..., maxwidth, newline, &genspace)
...
pp.flush
output

end
//}

@param output 出力先を指定します。output は << メソッドを持っていなければなりません。

@param maxwidth 行の最大幅を指定します。ただし、改行できないものが渡された場合は、...
...実際の出力幅は maxwidth を越えることがあります。

@param newline 改行に使われます。

@param genspace 空白の生成に使われる Proc オブジェクトを指定します。
生成したい空白の幅を表す整数を引数として呼...

IO.popen("-", mode = "r", opt={}) {|io| ... } -> object (3334.0)

第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。

...字列 "-" が指定された時、fork(2) を
行い子プロセスの標準入出力との間にパイプラインを確立します。
親プロセスでは IO オブジェクトを返し、子プロセスでは
nil を返します。

i
o = IO.popen("-", "r+")
i
f io # parent
i
o.puts "foo...
..."
p io.gets # => "child output: foo\n"
i
o.close
else # child
s = gets
print "child output: " + s
exit
end

ブロックを与えられた場合、親プロセスでは生成した IO オブジェクトを引数に
ブロックを実行し、その結果...
...
子プロセスでは nil を引数にブロックを実行し終了します。

p IO.popen("-", "r+") {|io|
i
f io # parent
i
o.puts "foo"
i
o.gets
else # child
s = gets
puts "child output: " + s
end
}
# => "child output: foo\n"

opt ではエン...

IO.popen(env, "-", mode = "r", opt={}) {|io| ... } -> object (3334.0)

第一引数に文字列 "-" が指定された時、fork(2) を 行い子プロセスの標準入出力との間にパイプラインを確立します。 親プロセスでは IO オブジェクトを返し、子プロセスでは nil を返します。

...字列 "-" が指定された時、fork(2) を
行い子プロセスの標準入出力との間にパイプラインを確立します。
親プロセスでは IO オブジェクトを返し、子プロセスでは
nil を返します。

i
o = IO.popen("-", "r+")
i
f io # parent
i
o.puts "foo...
..."
p io.gets # => "child output: foo\n"
i
o.close
else # child
s = gets
print "child output: " + s
exit
end

ブロックを与えられた場合、親プロセスでは生成した IO オブジェクトを引数に
ブロックを実行し、その結果...
...
子プロセスでは nil を引数にブロックを実行し終了します。

p IO.popen("-", "r+") {|io|
i
f io # parent
i
o.puts "foo"
i
o.gets
else # child
s = gets
puts "child output: " + s
end
}
# => "child output: foo\n"

opt ではエン...

絞り込み条件を変える

<< 1 2 3 > >>