662件ヒット
[1-100件を表示]
(0.037秒)
ライブラリ
- ビルトイン (55)
-
rubygems
/ command (11) -
rubygems
/ command _ manager (11) - shell (12)
-
shell
/ command-processor (504) -
shell
/ process-controller (30)
クラス
-
Gem
:: Command (11) -
Gem
:: CommandManager (11) - Shell (12)
-
Shell
:: CommandProcessor (498) -
Shell
:: ProcessController (30)
キーワード
- CommandProcessor (6)
-
NEWS for Ruby 2
. 5 . 0 (7) -
NEWS for Ruby 3
. 0 . 0 (4) - NoDelegateMethods (6)
- Rubyで使われる記号の意味(正規表現の複雑な記号は除く) (11)
- [] (6)
-
add
_ delegate _ command _ to _ shell (6) -
add
_ schedule (6) -
alias
_ command (12) -
alias
_ map (6) - append (6)
- atime (6)
- basename (6)
- blockdev? (6)
- cat (6)
- chardev? (6)
-
check
_ point (6) - chmod (6)
- chown (6)
-
command
_ processor (6) - concat (6)
- ctime (6)
-
def
_ builtin _ commands (6) -
def
_ system _ command (6) - delete (6)
- directory? (6)
- dirname (6)
- echo (6)
- exec (11)
- executable? (6)
-
executable
_ real? (6) - exist? (6)
- exists? (6)
- file? (6)
-
find
_ system _ command (6) -
finish
_ all _ jobs (6) - foreach (6)
- ftype (6)
- glob (6)
- grpowned? (6)
- identical? (6)
- initialize (6)
-
install
_ builtin _ commands (6) -
install
_ system _ commands (6) - join (6)
-
kill
_ job (6) - link (6)
- lstat (6)
-
method
_ added (6) - mkdir (6)
- mtime (6)
- new (6)
- notify (6)
- open (6)
- out (6)
- owned? (6)
- pipe? (6)
-
process
_ args (11) - readable? (6)
-
readable
_ real? (6) - readlink (6)
- rehash (6)
- rename (6)
- rm (6)
- rmdir (6)
-
ruby 1
. 9 feature (11) -
run
_ config (6) - setgid? (6)
- setuid? (6)
- sfork (6)
-
shell
/ command-processor (6) - size (6)
- size? (6)
- socket? (6)
- split (6)
-
start
_ job (6) - stat (6)
- sticky? (6)
- symlink (6)
- symlink? (6)
- system (6)
- tee (6)
-
terminate
_ job (6) - test (6)
- transact (6)
- trap (44)
- truncate (6)
-
unalias
_ command (6) -
undef
_ system _ command (12) - unlink (6)
- utime (6)
-
when
_ invoked (11) -
world
_ readable? (6) -
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - zero? (6)
検索結果
先頭5件
- Shell
# command _ processor -> Shell :: CommandProcessor - Shell
:: CommandProcessor . def _ system _ command(command , path = command) -> () - Shell
:: CommandProcessor . alias _ command(alias , command , *opts) -> self - Shell
:: CommandProcessor . alias _ command(alias , command , *opts) { . . . } -> self - Shell
:: CommandProcessor . undef _ system _ command(command) -> self
-
Shell
# command _ processor -> Shell :: CommandProcessor (12401.0) -
@todo
@todo -
Shell
:: CommandProcessor . def _ system _ command(command , path = command) -> () (12321.0) -
@todo
...@todo
与えられたコマンドをメソッドとして定義します。
@param command 定義したいコマンドを指定します。
@param path command のパスを指定します。省略すると環境変数 PATH から command を探します。... -
Shell
:: CommandProcessor . alias _ command(alias , command , *opts) -> self (12210.0) -
@todo
...@todo
@param alias エイリアスの名前を指定します。
@param command コマンド名を指定します。
@param opts コマンドに与えるオプションを指定します。
@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。... -
Shell
:: CommandProcessor . alias _ command(alias , command , *opts) { . . . } -> self (12210.0) -
@todo
...@todo
@param alias エイリアスの名前を指定します。
@param command コマンド名を指定します。
@param opts コマンドに与えるオプションを指定します。
@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。... -
Shell
:: CommandProcessor . undef _ system _ command(command) -> self (12208.0) -
与えられたコマンドを削除します。
...与えられたコマンドを削除します。
@param command 削除したいコマンド名を指定します。... -
Shell
:: CommandProcessor # find _ system _ command(command) (12202.0) -
@todo
@todo -
Shell
:: CommandProcessor . def _ builtin _ commands(delegation _ class , commands _ specs) -> () (12200.0) -
@todo
...@todo
@param delegation_class 処理を委譲したいクラスかモジュールを指定します。
@param commands_specs コマンドの仕様を文字列の配列で指定します。
[[コマンド名, [引数1, 引数2, ...]], ...]... -
Shell
:: CommandProcessor . add _ delegate _ command _ to _ shell(id) (12101.0) -
@todo
@todo
Shell 自体を初期化する時に呼び出されるメソッドです。
ユーザが使用することはありません。
@param id メソッド名を指定します。 -
Shell
:: CommandProcessor . unalias _ command(alias) -> self (12101.0) -
エイリアスを削除します。
エイリアスを削除します。
@param alias 削除したいエイリアスを指定します。 -
Shell
:: CommandProcessor . install _ builtin _ commands -> () (12100.0) -
ビルトインコマンドを定義します。
ビルトインコマンドを定義します。 -
Shell
:: CommandProcessor . install _ system _ commands(prefix = "sys _ ") -> () (12100.0) -
全てのシステムコマンドをメソッドとして定義します。
全てのシステムコマンドをメソッドとして定義します。
既に定義されているコマンドを再定義することはありません。
デフォルトでは全てのコマンドに "sys_" というプレフィクスが付きます。
また、メソッド名として使用できない文字は全て "_" に置換してメソッドを定義します。
このメソッドの実行中に発生した例外は単に無視されます。
@param prefix プレフィクスを指定します。 -
Shell
:: CommandProcessor (12000.0) -
-
shell
/ command-processor (12000.0) -
Shell で使用可能なコマンドの大半を定義するライブラリです。
Shell で使用可能なコマンドの大半を定義するライブラリです。 -
Gem
:: CommandManager # process _ args(args) -> () (9100.0) -
引数 args を処理して gem コマンドを実行するために必要な処理を行います。
引数 args を処理して gem コマンドを実行するために必要な処理を行います。
@param args コマンドラインから受け取った引数を指定します。 -
Shell
. undef _ system _ command(command) -> Shell :: CommandProcessor (6436.0) -
commandを削除します.
...
commandを削除します.
@param command 削除するコマンドの文字列を指定します。
動作例:
require 'shell'
Shell.def_system_command("ls")
# ls を定義
Shell.undef_system_command("ls")
# ls を 削除
sh = Shell.new
begin
sh.transact {
ls("-l").each... -
Shell
:: CommandProcessor # system(command , *opts) -> Shell :: SystemCommand (6235.0) -
command を実行する.
...
command を実行する.
@param command 実行するコマンドのパスを文字列で指定します。
@param opts command のオプションを文字列で指定します。複数可。
使用例:
require 'shell'
Shell.verbose = false
sh = Shell.new
print sh.system("ls", "-l")
S......hell.def_system_command("head")
sh.system("ls", "-l") | sh.head("-n 3") > STDOUT...