種類
- インスタンスメソッド (18)
- 特異メソッド (11)
- クラス (1)
クラス
- Shell (11)
-
Shell
:: BuiltInCommand (1) -
Shell
:: CommandProcessor (3) -
Shell
:: Filter (3) -
Shell
:: ProcessController (8) -
Shell
:: SystemCommand (1) -
Shell
:: Void (2)
キーワード
- Void (1)
- activate (1)
- active? (2)
-
active
_ job? (1) -
active
_ jobs (1) -
active
_ jobs _ exist? (1) -
active
_ process _ controllers (1) - blockdev? (3)
- cd (1)
- chardev? (3)
- debug= (1)
- each (1)
-
each
_ active _ object (1) - inactivate (1)
- new (1)
- out (3)
-
process
_ controllers _ exclusive (1) - verbose (2)
- verbose= (2)
- verbose? (2)
検索結果
先頭5件
-
Shell
# blockdev?(file) -> bool (18307.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#blockdev? -
Shell
# chardev?(file) -> bool (18307.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev? -
Shell
# verbose -> bool (18307.0) -
@todo
@todo -
Shell
# verbose=(flag) (18307.0) -
@todo
@todo -
Shell
# verbose? -> bool (18307.0) -
@todo
@todo -
Shell
. verbose -> bool (18307.0) -
@todo
@todo -
Shell
. verbose=(flag) (18307.0) -
true ならば冗長な出力の設定を行います。
true ならば冗長な出力の設定を行います。
@param flag true ならば冗長な出力の設定を行います。 -
Shell
. verbose? -> bool (18307.0) -
@todo
@todo -
Shell
:: BuiltInCommand # active? -> true (18304.0) -
@todo
@todo -
Shell
:: CommandProcessor # blockdev?(file) -> bool (18304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#blockdev? -
Shell
:: CommandProcessor # chardev?(file) -> bool (18304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev? -
Shell
:: Filter # blockdev?(file) -> bool (18304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#blockdev? -
Shell
:: Filter # chardev?(file) -> bool (18304.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev? -
Shell
:: ProcessController # active _ job?(job) -> bool (18304.0) -
指定されたジョブが実行中である場合は真を返します。 そうでない場合は偽を返します。
指定されたジョブが実行中である場合は真を返します。
そうでない場合は偽を返します。
@param job ジョブを指定します。 -
Shell
:: ProcessController # active _ jobs -> Array (18304.0) -
実行中のジョブの配列を返します。
実行中のジョブの配列を返します。 -
Shell
:: ProcessController # active _ jobs _ exist? -> bool (18304.0) -
実行中のジョブが存在する場合は真を返します。 そうでない場合は偽を返します。
実行中のジョブが存在する場合は真を返します。
そうでない場合は偽を返します。 -
Shell
:: ProcessController . activate(pc) -> () (18304.0) -
@todo
@todo -
Shell
:: ProcessController . active _ process _ controllers -> () (18304.0) -
@todo
@todo -
Shell
:: ProcessController . each _ active _ object {|ref| . . . } -> () (18304.0) -
@todo
@todo -
Shell
:: ProcessController . inactivate(pc) -> () (18304.0) -
@todo
@todo -
Shell
:: ProcessController . process _ controllers _ exclusive -> () (18304.0) -
@todo
@todo -
Shell
:: SystemCommand # active? -> bool (18304.0) -
@todo
@todo -
Shell
:: Void (18004.0) -
何もしないコマンドです。
何もしないコマンドです。 -
Shell
:: Void # each(rs = nil) { . . . } -> nil (9004.0) -
何もしません。
何もしません。 -
Shell
:: Void . new(sh , *opts) (9004.0) -
-
Shell
. cd(path = nil , verbose = self . verbose) -> self (607.0) -
pathをカレントディレクトリとするShellオブジェクトを生成します.
...クトリとするShellオブジェクトを生成します.
@param path カレントディレクトリとするディレクトリを文字列で指定します。
@param verbose true を指定すると冗長な出力を行います。
使用例
require 'shell'
sh = Shell.new
sh.cd("/tmp")... -
Shell
# out(dev = STDOUT , &block) -> () (307.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) (307.0) -
デバッグ用のフラグを設定します。
デバッグ用のフラグを設定します。
@param val bool 値や整数値を指定します。詳細は下記を参照してください。
# debug: true -> normal debug
# debug: 1 -> eval definition debug
# debug: 2 -> detail inspect debug -
Shell
:: CommandProcessor # out(dev = STDOUT , &block) -> () (304.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...
Shell#transact を呼び出しその結果を dev に出力します。
@param dev 出力先をIO オブジェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell... -
Shell
:: Filter # out(dev = STDOUT , &block) -> () (304.0) -
Shell#transact を呼び出しその結果を dev に出力します。
...
Shell#transact を呼び出しその結果を dev に出力します。
@param dev 出力先をIO オブジェクトなどで指定します。
@param block transact 内部で実行するシェルを指定します。
使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell...