69件ヒット
[1-69件を表示]
(0.037秒)
種類
- インスタンスメソッド (36)
- 特異メソッド (33)
ライブラリ
- shell (69)
検索結果
先頭5件
-
Shell
# blockdev?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#blockdev?... -
Shell
# chardev?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev?... -
Shell
# verbose -> bool (6101.0) -
@todo
@todo -
Shell
# verbose=(flag) (6101.0) -
@todo
@todo -
Shell
# verbose? -> bool (6101.0) -
@todo
@todo -
Shell
. debug _ output _ exclusive _ unlock { . . . } -> Mutex | nil (6101.0) -
@todo
...@todo
@see Mutex#exclusive_unlock... -
Shell
. verbose -> bool (6101.0) -
@todo
@todo -
Shell
. verbose=(flag) (6101.0) -
true ならば冗長な出力の設定を行います。
true ならば冗長な出力の設定を行います。
@param flag true ならば冗長な出力の設定を行います。 -
Shell
. verbose? -> bool (6101.0) -
@todo
@todo -
Shell
. cd(path = nil , verbose = self . verbose) -> self (201.0) -
pathをカレントディレクトリとするShellオブジェクトを生成します.
...クトリとするShellオブジェクトを生成します.
@param path カレントディレクトリとするディレクトリを文字列で指定します。
@param verbose true を指定すると冗長な出力を行います。
使用例
require 'shell'
sh = Shell.new
sh.cd("/tmp")... -
Shell
# out(dev = STDOUT , &block) -> () (101.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...
Shell#transact を呼び出しその結果を dev に出力します。
@param dev 出力先をIO オブジェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell... -
Shell
. debug=(val) (101.0) -
デバッグ用のフラグを設定します。
...デバッグ用のフラグを設定します。
@param val bool 値や整数値を指定します。詳細は下記を参照してください。
# debug: true -> normal debug
# debug: 1 -> eval definition debug
# debug: 2 -> detail inspect debug...