498件ヒット
[201-300件を表示]
(0.144秒)
ライブラリ
- ビルトイン (168)
-
drb
/ extservm (24) - fileutils (12)
-
irb
/ cmd / nop (24) -
irb
/ extend-command (72) -
rubygems
/ command (84) -
rubygems
/ command _ manager (12) -
rubygems
/ ext / builder (12) - shell (24)
-
shell
/ command-processor (60) -
shell
/ system-command (6)
クラス
-
DRb
:: ExtServManager (24) -
Gem
:: Command (84) -
Gem
:: CommandManager (12) -
Gem
:: Ext :: Builder (12) - IO (168)
-
IRB
:: ExtendCommand :: Nop (24) - Shell (24)
-
Shell
:: CommandProcessor (60) -
Shell
:: SystemCommand (6)
モジュール
- FileUtils (12)
-
IRB
:: ContextExtender (24) -
IRB
:: ExtendCommandBundle (48)
キーワード
-
add
_ common _ option (12) -
add
_ delegate _ command _ to _ shell (6) -
add
_ specific _ extra _ args (12) -
alias
_ command (18) - command= (12)
- commands (12)
-
def
_ builtin _ commands (6) -
def
_ extend _ command (24) -
def
_ system _ command (12) - execute (12)
-
extend
_ object (12) -
extra
_ args (12) -
extra
_ args= (12) - initialize (6)
-
install
_ builtin _ commands (6) -
install
_ extend _ commands (24) -
install
_ system _ commands (12) - instance (12)
-
irb
_ original _ method _ name (12) -
method
_ added (6) - new (18)
- popen (168)
- run (12)
-
specific
_ extra _ args (12) -
specific
_ extra _ args _ hash (12) -
undef
_ system _ command (12)
検索結果
先頭5件
-
FileUtils
. commands -> Array (9101.0) -
何らかのオプションを持つメソッド名の配列を返します。
...何らかのオプションを持つメソッド名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.commands # => ["chmod", "cp", "cp_r", "install", ...]
//}... -
Gem
:: Command . add _ specific _ extra _ args(cmd , args) (9101.0) -
与えられたコマンドに対応する追加の引数を追加します。
与えられたコマンドに対応する追加の引数を追加します。
@param cmd コマンド名を指定します。
@param args 追加の引数を配列か、空白で区切った文字列で指定します。 -
Gem
:: Command . common _ options -> Array (9101.0) -
共通の引数を返します。
共通の引数を返します。 -
Gem
:: Command . extra _ args -> Array (9101.0) -
追加の引数を返します。
追加の引数を返します。 -
Gem
:: Command . extra _ args=(value) (9101.0) -
追加の引数をセットします。
追加の引数をセットします。
@param value 配列を指定します。 -
Gem
:: Command . specific _ extra _ args(cmd) -> Array (9101.0) -
与えられたコマンドに対応する追加の引数を返します。
与えられたコマンドに対応する追加の引数を返します。
特別な追加引数はプログラムの開始時に Gem の設定ファイルから読み込まれます。
@param cmd コマンド名を指定します。 -
Gem
:: Command . specific _ extra _ args _ hash -> Hash (9101.0) -
特別な追加引数へのアクセスを提供します。
特別な追加引数へのアクセスを提供します。 -
Shell
:: CommandProcessor . initialize -> () (9101.0) -
@todo
...@todo
このクラスを初期化します。... -
Shell
:: CommandProcessor . method _ added(id) (9101.0) -
@todo このクラスに定義されたメソッドを Shell にも定義するためのフックです。
...@todo
このクラスに定義されたメソッドを Shell にも定義するためのフックです。
@param id メソッド名を指定します。... -
Shell
. alias _ command(alias , command , *opts) { . . . } -> self (6349.0) -
コマンドの別名(エイリアス)を作成します。 コマンドが無い場合は、Shell.def_system_command などであらかじめ作成します.
...ystem_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
}
}...