288件ヒット
[1-100件を表示]
(0.151秒)
ライブラリ
- ビルトイン (12)
- benchmark (12)
- mkmf (12)
- rake (12)
-
rexml
/ document (12) -
rexml
/ sax2listener (24) -
rexml
/ streamlistener (36) - shell (48)
-
shell
/ command-processor (36) -
shell
/ filter (60) -
shell
/ system-command (24)
クラス
-
Benchmark
:: Tms (12) -
REXML
:: NotationDecl (12) - Shell (48)
-
Shell
:: CommandProcessor (36) -
Shell
:: Filter (60) -
Shell
:: SystemCommand (24) - String (12)
モジュール
- FileUtils (12)
- Kernel (12)
-
REXML
:: SAX2Listener (24) -
REXML
:: StreamListener (36)
検索結果
先頭5件
-
Shell
:: Filter # system(command , *opts) -> Shell :: SystemCommand (27432.0) -
command を実行する.
...る.
@param command 実行するコマンドのパスを文字列で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_comma......nd("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
# system(command , *opts) -> Shell :: SystemCommand (24432.0) -
command を実行する.
...る.
@param command 実行するコマンドのパスを文字列で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_comma......nd("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (24432.0) -
command を実行する.
...る.
@param command 実行するコマンドのパスを文字列で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
Shell.def_system_comma......nd("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT... -
Kernel
# xsystem(command , opts = nil) -> () (12235.0) -
Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー 出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。
...Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー
出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。
@param command コマンドを指定します。
@param opts オプションを Hash で指定します。......:werror というキーに真を指定すると
@see Kernel.#system... -
Shell
# system _ path -> Array (12221.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Shell
# system _ path=(path) (12221.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
REXML
:: NotationDecl # system=(value) (12208.0) -
システム識別子を変更します。
...システム識別子を変更します。
@param value 設定するシステム識別子... -
Shell
:: Filter # tee(file) -> Shell :: Filter (9213.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...lter オブジェクトを返します.
@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat......(file).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}... -
Shell
:: SystemCommand # notify(*opts) -> String (9107.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
Shell
:: SystemCommand # notify(*opts) {|message| . . . } -> String (9107.0) -
@todo
...@todo
@param opts
@see Shell#notify... -
REXML
:: SAX2Listener # notationdecl(name , public _ or _ system , public _ id , system _ id) -> () (6345.0) -
DTDの記法宣言に出会ったときに呼び出されるコールバックメソッドです。
...DTDの記法宣言に出会ったときに呼び出されるコールバックメソッドです。
@param name 記法名が文字列で渡されます
@param public_or_system "PUBLIC" もしくは "SYSTEM" が渡されます
@param public_id 公開識別子が文字列で渡されます。指定......されていない場合はnilが渡されます
@param system_id システム識別子が文字列で渡されます。指定されていない場合はnilが渡されます... -
Shell
# tee(file) -> Shell :: Filter (6213.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...lter オブジェクトを返します.
@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat......(file).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}... -
Shell
:: CommandProcessor # tee(file) -> Shell :: Filter (6213.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...lter オブジェクトを返します.
@param file シェルコマンドtee に与えるファイル名を文字列で指定します。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat......(file).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}... -
REXML
:: SAX2Listener # doctype(name , pub _ sys , long _ name , uri) -> () (6143.0) -
文書型宣言(DTD)に出会った時に呼び出されるコールバックメソッドです。
...TD)に出会った時に呼び出されるコールバックメソッドです。
@param name 宣言されているルート要素名が文字列で渡されます。
@param pub_sys "PUBLIC" もしくは "SYSTEM" が渡されます。nilが渡される場合もあります。
@param long_name "SYST......EM" の場合はシステム識別子が、"PUBLIC"の場合は公開識別子が
文字列で渡されます
@param uri "SYSTEM" の場合は nil が、"PUBLIC" の場合はシステム識別子が渡されます...