42件ヒット
[1-42件を表示]
(0.029秒)
別のキーワード
ライブラリ
- fileutils (12)
-
irb
/ extend-command (24) - shell (6)
クラス
- Shell (6)
モジュール
- FileUtils (12)
-
IRB
:: ContextExtender (12) -
IRB
:: ExtendCommandBundle (12)
キーワード
検索結果
先頭4件
-
FileUtils
. commands -> Array (18114.0) -
何らかのオプションを持つメソッド名の配列を返します。
...何らかのオプションを持つメソッド名の配列を返します。
//emlist[][ruby]{
require 'fileutils'
FileUtils.commands # => ["chmod", "cp", "cp_r", "install", ...]
//}... -
IRB
:: ExtendCommandBundle . install _ extend _ commands -> object (6120.0) -
定義済みの拡張を読み込みます。
...* irb_push_workspace
* irb_pop_workspace
* irb_load
* irb_require
* irb_source
* irb
* irb_jobs
* irb_fg
* irb_kill
* irb_help
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ExtendCommandBundle.install_extend_commands... -
Shell
. install _ system _ commands(pre = "sys _ ") -> () (6114.0) -
system_path上にある全ての実行可能ファイルをShellに定義する. メソッ ド名は元のファイル名の頭にpreをつけたものとなる.
...るメソッド名の先頭に付加される文字列を指定します。
使用例: 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
}... -
IRB
:: ContextExtender . install _ extend _ commands -> object (6108.0) -
定義済みの拡張を読み込みます。
...で以下のメソッドが利用できるようになります。
* eval_history=
* use_tracer=
* math_mode=
* use_loader=
* save_history=
irb/extend-command が require された時にライブラリ内部で自動的
に実行されます。
@see IRB::ContextExtender.def_extend_command...