216件ヒット
[1-100件を表示]
(0.145秒)
クラス
- Shell (63)
-
Shell
:: Cat (6) -
Shell
:: CommandProcessor (48) -
Shell
:: Echo (6) -
Shell
:: Filter (6) -
Shell
:: ProcessController (42) -
Shell
:: Tee (6) -
Shell
:: Void (6)
モジュール
- Shellwords (33)
キーワード
- activate (6)
-
active
_ process _ controllers (6) -
add
_ delegate _ command _ to _ shell (6) -
alias
_ command (18) -
block
_ output _ synchronize (6) - cd (6)
- debug (6)
- debug? (6)
-
debug
_ output _ exclusive _ unlock (3) -
debug
_ output _ synchronize (6) -
debug
_ output _ unlock (6) -
def
_ builtin _ commands (6) -
def
_ system _ command (6) -
default
_ record _ separator (6) -
each
_ active _ object (6) - escape (11)
- inactivate (6)
- initialize (6)
-
install
_ builtin _ commands (6) -
install
_ system _ commands (12) - join (11)
-
method
_ added (6) - new (30)
- notify (6)
-
process
_ controllers _ exclusive (6) - split (11)
-
wait
_ to _ finish _ all _ process _ controllers (6)
検索結果
先頭5件
- Shell
:: CommandProcessor . install _ builtin _ commands -> () - Shell
:: ProcessController . active _ process _ controllers -> () - Shell
:: ProcessController . process _ controllers _ exclusive -> () - Shell
:: ProcessController . wait _ to _ finish _ all _ process _ controllers -> () - Shell
:: CommandProcessor . def _ builtin _ commands(delegation _ class , commands _ specs) -> ()
-
Shell
:: CommandProcessor . install _ builtin _ commands -> () (18302.0) -
ビルトインコマンドを定義します。
ビルトインコマンドを定義します。 -
Shell
:: ProcessController . active _ process _ controllers -> () (15202.0) -
@todo
...@todo... -
Shell
:: ProcessController . process _ controllers _ exclusive -> () (15202.0) -
@todo
...@todo... -
Shell
:: ProcessController . wait _ to _ finish _ all _ process _ controllers -> () (15202.0) -
@todo
...@todo... -
Shell
:: CommandProcessor . def _ builtin _ commands(delegation _ class , commands _ specs) -> () (12302.0) -
@todo
...@todo
@param delegation_class 処理を委譲したいクラスかモジュールを指定します。
@param commands_specs コマンドの仕様を文字列の配列で指定します。
[[コマンド名, [引数1, 引数2, ...]], ...]... -
Shell
. debug _ output _ exclusive _ unlock { . . . } -> Mutex | nil (12203.0) -
@todo
...@todo
@see Mutex#exclusive_unlock... -
Shell
. debug _ output _ synchronize (12203.0) -
@todo
...@todo
@see Mutex#synchronize......@todo
@see Thread::Mutex#synchronize... -
Shell
. install _ system _ commands(pre = "sys _ ") -> () (12203.0) -
system_path上にある全ての実行可能ファイルをShellに定義する. メソッ ド名は元のファイル名の頭にpreをつけたものとなる.
...system_path上にある全ての実行可能ファイルをShellに定義する. メソッ
ド名は元のファイル名の頭にpreをつけたものとなる.
@param pre Shellに定義するメソッド名の先頭に付加される文字列を指定します。
使用例: ls -l | head -n 5......のような例。
require 'shell'
Shell.install_system_commands
sh = Shell.new
sh.verbose = false
sh.transact {
(sys_ls("-l") | sys_head("-n 5")).each {|l|
puts l
}
}... -
Shell
. notify(*opts) {|message| . . . } -> String (12203.0) -
@todo
...@todo... -
Shell
:: CommandProcessor . initialize -> () (12202.0) -
@todo
...@todo
このクラスを初期化します。... -
Shell
:: CommandProcessor . install _ system _ commands(prefix = "sys _ ") -> () (12202.0) -
全てのシステムコマンドをメソッドとして定義します。
...うプレフィクスが付きます。
また、メソッド名として使用できない文字は全て "_" に置換してメソッドを定義します。
このメソッドの実行中に発生した例外は単に無視されます。
@param prefix プレフィクスを指定します。... -
Shell
:: ProcessController . activate(pc) -> () (12202.0) -
@todo
...@todo... -
Shell
:: ProcessController . block _ output _ synchronize { . . . } -> () (12202.0) -
@todo
...@todo... -
Shell
:: ProcessController . each _ active _ object {|ref| . . . } -> () (12202.0) -
@todo
...@todo... -
Shell
:: ProcessController . inactivate(pc) -> () (12202.0) -
@todo
...@todo... -
Shellwords
. split(line) -> [String] (12202.0) -
Bourne シェルの単語分割規則に従った空白区切りの単語分割を行い、 単語 (文字列) の配列を返します。
...列を返します。
このメソッドは、Shellwords.#shellsplit の別名です。
@param line 分割の対象となる文字列を指定します。
@return 分割結果の各文字列を要素とする配列を返します。
@raise ArgumentError 引数の中に対でないシングルク... -
Shell
. alias _ command(alias , command , *opts) { . . . } -> self (6303.0) -
コマンドの別名(エイリアス)を作成します。 コマンドが無い場合は、Shell.def_system_command などであらかじめ作成します.
...ます。
コマンドが無い場合は、Shell.def_system_command などであらかじめ作成します.
@param alias エイリアスの名前を文字列で指定します.
@param command コマンド名を文字列で指定します.
@param opts command で指定したコマンドのオプ......を指定します.
使用例: ls -la | sort -k 5 のような例。
require 'shell'
Shell.def_system_command("ls")
Shell.alias_command("lsla", "ls", "-a", "-l")
Shell.def_system_command("sort")
sh = Shell.new
sh.transact {
(lsla | sort("-k 5")).each {|l|
puts l
}
}...