204件ヒット
[1-100件を表示]
(0.043秒)
別のキーワード
種類
- インスタンスメソッド (192)
- 特異メソッド (12)
ライブラリ
-
shell
/ command-processor (204)
キーワード
- [] (6)
- basename (6)
- blockdev? (6)
- chardev? (6)
- concat (6)
-
def
_ builtin _ commands (6) - directory? (6)
- executable? (6)
-
executable
_ real? (6) - exist? (6)
- exists? (6)
- file? (6)
-
finish
_ all _ jobs (6) - foreach (6)
- glob (6)
- grpowned? (6)
-
install
_ builtin _ commands (6) - out (6)
- owned? (6)
- pipe? (6)
- readable? (6)
-
readable
_ real? (6) - setgid? (6)
- setuid? (6)
- socket? (6)
- sticky? (6)
- symlink? (6)
- test (6)
- transact (6)
-
world
_ readable? (6) -
world
_ writable? (6) - writable? (6)
-
writable
_ real? (6) - zero? (6)
検索結果
先頭5件
-
Shell
:: CommandProcessor # basename(filename , suffix = "") -> String (6101.0) -
File クラスにある同名のクラスメソッドと同じです.
...イル名を表す文字列を指定します。
@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。
@see File.basename... -
Shell
:: CommandProcessor # blockdev?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#blockdev?... -
Shell
:: CommandProcessor # executable?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable?... -
Shell
:: CommandProcessor # executable _ real?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#executable_real?... -
Shell
:: CommandProcessor # glob(pattern) -> Shell :: Filter (6101.0) -
実行すると, それらを内容とする Filter オブジェクトを返します.
...rn シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。
動作例
require 'shell'
Shell.def_system_command("head")
sh = Shell.new
sh.transact {
glob("*.txt").to_a.each { |file|... -
Shell
:: CommandProcessor # readable?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable?... -
Shell
:: CommandProcessor # readable _ real?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#readable_real?... -
Shell
:: CommandProcessor # world _ readable? (6101.0) -
@todo
@todo -
Shell
:: CommandProcessor # world _ writable? (6101.0) -
@todo
@todo -
Shell
:: CommandProcessor # writable?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable?... -
Shell
:: CommandProcessor # writable _ real?(file) -> bool (6101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
...FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列を指定します。
@see FileTest.#writable_real?... -
Shell
:: CommandProcessor . def _ builtin _ commands(delegation _ class , commands _ specs) -> () (6101.0) -
@todo
@todo
@param delegation_class 処理を委譲したいクラスかモジュールを指定します。
@param commands_specs コマンドの仕様を文字列の配列で指定します。
[[コマンド名, [引数1, 引数2, ...]], ...] -
Shell
:: CommandProcessor . install _ builtin _ commands -> () (6101.0) -
ビルトインコマンドを定義します。
ビルトインコマンドを定義します。 -
Shell
:: CommandProcessor # finish _ all _ jobs (3101.0) -
@todo
@todo -
Shell
:: CommandProcessor # [](command , file1 , file2 = nil) -> bool | Time | Integer | nil (101.0) -
Kernel.#test や FileTest のメソッドに処理を委譲します。
...のパスを指定します。
@param file2 文字列でファイルへのパスを指定します。
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
sh.mkdir("foo")
rescue
end
p sh[?e, "foo"] # => true
p sh[:e, "foo"] # => true
p sh["e", "foo"]... -
Shell
:: CommandProcessor # chardev?(file) -> bool (101.0) -
FileTest モジュールにある同名のクラスメソッドと同じです.
FileTest モジュールにある同名のクラスメソッドと同じです.
@param file ファイル名を表す文字列か IO オブジェクトを指定します。
@see FileTest.#chardev? -
Shell
:: CommandProcessor # concat(*jobs) -> Shell :: Concat (101.0) -
@todo
@todo