るりまサーチ

最速Rubyリファレンスマニュアル検索!
48件ヒット [1-48件を表示] (0.017秒)
トップページ > クエリ:ec[x] > ライブラリ:shell/command-processor[x]

別のキーワード

  1. ec new
  2. ec group
  3. ec to_der
  4. ec group=
  5. ec to_pem

検索結果

Shell::CommandProcessor#check_point (6102.0)

@todo

@todo

Shell::CommandProcessor#directory?(file) -> bool (6102.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列か IO オブジェクトを指定します。

@see FileTest.#directory?...

Shell::CommandProcessor#echo(*strings) -> Shell::Filter (6102.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...rings シェルコマンド echo に与える引数を文字列で指定します。

動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
ec
ho(l) | tee(file + ".tee")...

Shell::CommandProcessor#executable?(file) -> bool (6102.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#executable?...

Shell::CommandProcessor#executable_real?(file) -> bool (6102.0)

FileTest モジュールにある同名のクラスメソッドと同じです.

...FileTest モジュールにある同名のクラスメソッドと同じです.

@param file ファイル名を表す文字列を指定します。

@see FileTest.#executable_real?...

絞り込み条件を変える

Shell::CommandProcessor#finish_all_jobs (3002.0)

@todo

@todo

Shell::CommandProcessor#transact { ... } -> object (102.0)

ブロック中で shell を self として実行します。

ブロック中で shell を self として実行します。

例:

require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact{
system("ls", "-l") | head > STDOUT
# transact の中では、
# sh.system("ls", "-l") | sh.head > STDOUT と同じとなる。
}

Shell::CommandProcessor.def_builtin_commands(delegation_class, commands_specs) -> () (102.0)

@todo

...@todo

@param delegation_class 処理を委譲したいクラスかモジュールを指定します。

@param commands_specs コマンドの仕様を文字列の配列で指定します。
[[コマンド名, [引数1, 引数2, ...]], ...]...