るりまサーチ

最速Rubyリファレンスマニュアル検索!
1324件ヒット [1201-1300件を表示] (0.014秒)
トップページ > クエリ:stdout[x]

別のキーワード

  1. tracer stdout
  2. tracer stdout=
  3. tracer stdout_mutex
  4. object stdout
  5. kernel $stdout

ライブラリ

モジュール

キーワード

検索結果

<< < ... 11 12 13 14 > >>

Net::FTP#debug_mode -> bool (6.0)

デバッグモードであれば真を、そうでなければ偽を返します。

...デバッグモードであれば真を、そうでなければ偽を返します。

値が真であるとき、送受信の記録と ABOR, STAT の結果が
$stdout に随時表示されます。

デフォルトは偽です。
@see Net::FTP#debug_mode=...

Net::Telnet (6.0)

このクラスは telnet のクライアント機能を提供します。

...が出るまで待ち合わせる
telnet.cmd("ls") {|c| print c}

# sleep で 5 秒
telnet.cmd("sleep 5 && echo foobar &") {|c| print c}

STDOUT
.flush # <- これがないとここまで処理が来てることがわかりにくい

# 前のコマンドの出力を待ち合わせる...

Object.yaml_tag(tag) -> () (6.0)

クラスと tag の間を関連付けます。

...3

# Registers tag with class Foo
Foo.yaml_as("tag:example.com,2013:foo")
# ... and dumps the object of Foo class
Psych.dump(Foo.new(3), STDOUT)
# =>
# --- !<tag:example.com,2013:foo>
# x: 3

# Loads the object from the tagged YAML node
p Psych.load(<<EOS)
--- !<tag:example...

Profiler__ (6.0)

プロファイラの実装です。 Profiler__.start_profile 実行から、Profiler__.stop_profile までの 区間の実行コードのプロファイルを取得します。

...'profiler'

Profiler__.start_profile
require 'tk' # このコードのプロファイルが測定される
Profiler__.print_profile(STDOUT)

# =>
% cumulative self self total
time seconds seconds calls ms/call ms/call name
51.64 1.10...

REXML::DocType#write(output, indent = 0, transitive = false, ie_hack = false) -> () (6.0)

output に DTD を出力します。

...ELEMENT comment (#PCDATA)>
<!ATTLIST book
author CDATA #REQUIRED
title CDATA #REQUIRED
publisher CDATA "foobar publisher">
<!ENTITY p "foobar publisher">
<!ENTITY % q "quzz">
]>
EOS

doctype.write(STDOUT)
# =>
# <!DOCTYPE books [
# <!ELEMENT book (comment)>
# ....
//}...

絞り込み条件を変える

Shell#system(command, *opts) -> Shell::SystemCommand (6.0)

command を実行する.

...で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT...

Shell::CommandProcessor#system(command, *opts) -> Shell::SystemCommand (6.0)

command を実行する.

...で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT...

Shell::Filter#system(command, *opts) -> Shell::SystemCommand (6.0)

command を実行する.

...で指定します。

@param opts command のオプションを文字列で指定します。複数可。

使用例:

require 'shell'
Shell.verbose = false
sh = Shell.new

print sh.system("ls", "-l")
Shell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT...

Socket.unix(path) -> Socket (6.0)

Unix クライアントソケットを生成します。

...ブロックの終了後に
ソケットを IO#close します。

require 'socket'

# /tmp/sock と通信する
Socket.unix("/tmp/sock") {|sock|
t = Thread.new { IO.copy_stream(sock, STDOUT) }
IO.copy_stream(STDIN, sock)
t.join
}

@param path 接続対象のパス(文字列)...

Socket.unix(path) {|sock| ... } -> object (6.0)

Unix クライアントソケットを生成します。

...ブロックの終了後に
ソケットを IO#close します。

require 'socket'

# /tmp/sock と通信する
Socket.unix("/tmp/sock") {|sock|
t = Thread.new { IO.copy_stream(sock, STDOUT) }
IO.copy_stream(STDIN, sock)
t.join
}

@param path 接続対象のパス(文字列)...

絞り込み条件を変える

ruby 1.8.4 feature (6.0)

ruby 1.8.4 feature ruby 1.8.4 での ruby 1.8.3 からの変更点です。

...o Matsumoto <matz@ruby-lang.org>
#
# * ext/readline/readline.c (readline_readline): type check.
# [ruby-core:6089]

IO以外を$stdoutにセットするとreadlineでSEGVしていたバグの修正。((<ruby-core:6089>))

: Syck [bug]

#Tue Dec 20 13:11:59 2005 Hirokazu Yamamoto...

Open3.#pipeline_r(*cmds) -> [IO, [Thread]] (1.0)

指定したコマンドのリストをパイプで繋いで順番に実行します。最後の コマンドの標準出力を受けとる事ができます。

指定したコマンドのリストをパイプで繋いで順番に実行します。最後の
コマンドの標準出力を受けとる事ができます。

@param cmds 実行するコマンドのリストを指定します。それぞれのコマンドは
以下のように String か Array で指定します。
commandline にはコマンド全体(例. "nroff -man")を表す
String を指定します。
options には Hash で指定します。
env には環境変数を Hash で指定します。
...
<< < ... 11 12 13 14 > >>