540件ヒット
[201-300件を表示]
(0.121秒)
ライブラリ
- ビルトイン (180)
-
drb
/ extservm (24) - fileutils (12)
-
irb
/ cmd / nop (24) -
irb
/ extend-command (72) -
rubygems
/ command (108) -
rubygems
/ command _ manager (12) -
rubygems
/ ext / builder (12) - shell (12)
-
shell
/ command-processor (84)
クラス
-
DRb
:: ExtServManager (24) -
Gem
:: Command (108) -
Gem
:: CommandManager (12) -
Gem
:: Ext :: Builder (12) - IO (168)
-
IRB
:: ExtendCommand :: Nop (24) - Shell (12)
-
Shell
:: CommandProcessor (84)
モジュール
- FileUtils (12)
-
IRB
:: ContextExtender (24) -
IRB
:: ExtendCommandBundle (48) - Process (12)
キーワード
-
add
_ common _ option (12) -
add
_ delegate _ command _ to _ shell (6) -
add
_ specific _ extra _ args (12) -
alias
_ command (12) -
alias
_ map (6) -
build
_ args (12) -
build
_ args= (12) - command= (12)
- commands (12)
-
def
_ builtin _ commands (6) -
def
_ extend _ command (24) -
def
_ system _ command (6) - exec (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)
-
run
_ config (6) -
specific
_ extra _ args (12) -
specific
_ extra _ args _ hash (12) -
unalias
_ command (6) -
undef
_ system _ command (12)
検索結果
先頭5件
-
Gem
:: Command . extra _ args=(value) (9101.0) -
追加の引数をセットします。
...追加の引数をセットします。
@param value 配列を指定します。... -
Gem
:: Command . specific _ extra _ args _ hash -> Hash (9101.0) -
特別な追加引数へのアクセスを提供します。
特別な追加引数へのアクセスを提供します。 -
Shell
:: CommandProcessor . run _ config -> () (9101.0) -
ユーザのホームディレクトリに "~/.rb_shell" というファイルが存在すれば、それを Kernel.#load します。
...ユーザのホームディレクトリに "~/.rb_shell" というファイルが存在すれば、それを Kernel.#load します。
存在しない時は何もしません。... -
Shell
. undef _ system _ command(command) -> Shell :: CommandProcessor (6437.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......{|l|
puts l
}
}
rescue NameError => err
puts err
end... -
Gem
:: Ext :: Builder . run(command , results) (6208.0) -
@todo
...られたコマンドを実行します。
@param command 実行するコマンドを文字列で指定します。
@param results 結果を入れるための配列です。この変数は破壊的に変更されます。
@raise Gem::InstallError コマンドの実行に失敗した場合に発... -
FileUtils
. commands -> Array (6207.0) -
何らかのオプションを持つメソッド名の配列を返します。
...何らかのオプションを持つメソッド名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.commands # => ["chmod", "cp", "cp_r", "install", ...]
//}... -
Gem
:: CommandManager . instance -> Gem :: CommandManager (6201.0) -
自身をインスタンス化します。
自身をインスタンス化します。 -
IRB
:: ExtendCommand :: Nop . new(conf) -> IRB :: ExtendCommand :: Nop (6201.0) -
自身を初期化します。ユーザが直接使用するものではありません。
...自身を初期化します。ユーザが直接使用するものではありません。
@param conf IRB::Context オブジェクトを指定します。... -
IRB
:: ExtendCommandBundle . extend _ object(obj) -> IRB :: ExtendCommandBundle (6201.0) -
IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを obj に定義します。
...IRB::ExtendCommandBundle で定義済みの拡張に指定されたエイリアスを
obj に定義します。
@param obj IRB::ExtendCommandBundle を extend したオブジェクト... -
Shell
. install _ system _ commands(pre = "sys _ ") -> () (6201.0) -
system_path上にある全ての実行可能ファイルをShellに定義する. メソッ ド名は元のファイル名の頭にpreをつけたものとなる.
...の頭にpreをつけたものとなる.
@param pre Shellに定義するメソッド名の先頭に付加される文字列を指定します。
使用例: ls -l | head -n 5 のような例。
require 'shell'
Shell.install_system_commands
sh = Shell.new
sh.verbose = false
sh.transact {...