るりまサーチ

最速Rubyリファレンスマニュアル検索!
18件ヒット [1-18件を表示] (0.034秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:p[x] > クエリ:dev[x] > ライブラリ:shell/command-processor[x]

別のキーワード

  1. openssl p
  2. openssl p=
  3. fileutils mkdir_p
  4. dsa p
  5. rsa p

クラス

キーワード

検索結果

Shell::CommandProcessor#blockdev?(file) -> bool (9103.0)

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

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

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

@see FileTest.#blockdev?...

Shell::CommandProcessor#chardev?(file) -> bool (9103.0)

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

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

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

@see FileTest.#chardev?...

Shell::CommandProcessor#out(dev = STDOUT, &block) -> () (3126.0)

Shell#transact を呼び出しその結果を dev に出力します。

... dev に出力します。

@param dev 出力先をIO オブジェクトなどで指定します。

@param block transact 内部で実行するシェルを指定します。


使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
File.open("out.txt", "w"){ |fp|...
...sh.out(fp) {
system("ls", "-l") | head("-n 3")
}
}...