552件ヒット
[1-100件を表示]
(0.086秒)
別のキーワード
ライブラリ
- ビルトイン (60)
- benchmark (48)
- matrix (12)
- mkmf (12)
-
net
/ ftp (12) - rake (12)
-
rexml
/ document (60) -
rexml
/ sax2listener (24) -
rexml
/ streamlistener (36) -
rubygems
/ source _ info _ cache (24) - shell (48)
-
shell
/ command-processor (42) -
shell
/ filter (78) -
shell
/ system-command (72)
クラス
-
Benchmark
:: Tms (48) -
File
:: Stat (12) -
Gem
:: SourceInfoCache (24) - Matrix (12)
-
Net
:: FTP (12) -
RDoc
:: Options (12) -
REXML
:: DocType (36) -
REXML
:: Entity (12) -
REXML
:: NotationDecl (12) -
Rake
:: Application (12) - Shell (48)
-
Shell
:: CommandProcessor (42) -
Shell
:: Filter (78) -
Shell
:: SystemCommand (72) - String (12)
- SystemCallError (12)
- SystemExit (24)
モジュール
- Kernel (12)
-
REXML
:: SAX2Listener (24) -
REXML
:: StreamListener (36)
キーワード
- < (6)
- >> (6)
- active? (6)
- cat (18)
- command (6)
- cstime (12)
- doctype (24)
- echo (18)
- eigensystem (12)
- entitydecl (12)
- errno (12)
- external (12)
-
external
_ id (12) - flush (6)
- format (12)
- glob (18)
- kill (6)
-
latest
_ system _ cache _ file (12) - name (6)
- notationdecl (24)
- notify (12)
-
op
_ dir (12) - out (18)
- pipe? (12)
- public (12)
- start (6)
-
start
_ import (6) - status (12)
- stime (12)
- success? (12)
- sum (12)
-
super
_ each (6) -
system
_ cache _ file (12) -
system
_ path (6) - tee (18)
- terminate (6)
-
to
_ a (18) -
to
_ s (6) - transact (18)
- wait? (6)
- xsystem (12)
- | (6)
検索結果
先頭5件
-
Shell
# system(command , *opts) -> Shell :: SystemCommand (18326.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 (18326.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 (18326.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... -
REXML
:: DocType # system -> String | nil (18220.0) -
DTD のシステム識別子を返します。
...l1/DTD/xhtml1-strict.dtd">
EOS
doctype.system # => "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"
doctype.public # => "-//W3C//DTD XHTML 1.0 Strict//EN"
doctype = REXML::Document.new(<<EOS).doctype
<!DOCTYPE root SYSTEM "foobar">
EOS
doctype.system # => "foobar"
doctype.public # => nil
//}... -
Net
:: FTP # system -> String (18202.0) -
サーバーの OS のタイプを返します。
サーバーの OS のタイプを返します。
@raise Net::FTPTempError 応答コードが 4yz のときに発生します。
@raise Net::FTPPermError 応答コードが 5yz のときに発生します。
@raise Net::FTPProtoError 応答コードが RFC 的に正しくない場合に発生します。
@raise Net::FTPReplyError 応答コードが上の場合以外でエラーである場合に発生します。 -
REXML
:: NotationDecl # system -> String | nil (18202.0) -
システム識別子(URI)を返します。
システム識別子(URI)を返します。
宣言がシステム識別子を含まない場合は nil を返します。 -
Shell
:: Filter # >(to) -> self (18119.0) -
toをフィルタの出力とする。 toが, 文字列ならばファイルに, IOオブジェクトであれ ばそれをそのまま出力とする。
...ルに,IOオブジェクトならばそれに出力します。
使用例
require 'shell'
Shell.def_system_command("tail")
sh = Shell.new
sh.transact {
(sh.tail("-n 3") < "/etc/passwd") > File.open("tail.out", "w")
#(sh.tail("-n 3") < "/etc/passwd") > "tail.out" # と同じ.
}... -
Kernel
# xsystem(command , opts = nil) -> () (6223.0) -
Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー 出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。
...Kernel.#system と同じですが、コマンドの出力は(標準出力、標準エラー
出力ともに)ログファイルに出力します。ログファイル名は mkmf.log です。
@param command コマンドを指定します。
@param opts オプションを Hash で指定します。......:werror というキーに真を指定すると
@see Kernel.#system... -
Shell
# system _ path -> Array (6215.0) -
コマンドサーチパスの配列を返す。
...コマンドサーチパスの配列を返す。
@param path コマンドサーチパスの配列を指定します。
使用例
require 'shell'
sh = Shell.new
sh.system_path = [ "./" ]
p sh.system_path #=> ["./"]... -
Gem
:: SourceInfoCache # latest _ system _ cache _ file -> String (6202.0) -
最新のシステムキャッシュのファイル名を返します。
最新のシステムキャッシュのファイル名を返します。 -
Gem
:: SourceInfoCache # system _ cache _ file -> String (6202.0) -
システムキャッシュファイルの名前を返します。
システムキャッシュファイルの名前を返します。