るりまサーチ

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

別のキーワード

  1. string b
  2. _builtin b
  3. b string
  4. b _builtin

検索結果

<< 1 2 3 > >>

Shell::CommandProcessor#basename(filename, suffix = "") -> String (6102.0)

File クラスにある同名のクラスメソッドと同じです.

...イル名を表す文字列を指定します。

@param suffix サフィックスを文字列で与えます。'.*' という文字列を与えた場合、'*' はワイルドカードとして働き
'.' を含まない任意の文字列にマッチします。

@see File.basename...

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

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

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

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

@see FileTest.#blockdev?...

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#glob(pattern) -> Shell::Filter (6102.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 (6102.0)

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

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

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

@see FileTest.#readable?...

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

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

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

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

@see FileTest.#readable_real?...

Shell::CommandProcessor#world_readable? (6102.0)

@todo

@todo

Shell::CommandProcessor#world_writable? (6102.0)

@todo

@todo

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

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

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

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

@see FileTest.#writable?...

絞り込み条件を変える

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

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

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

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

@see FileTest.#writable_real?...

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

@todo

@todo

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

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

Shell::CommandProcessor.install_builtin_commands -> () (6102.0)

ビルトインコマンドを定義します。

ビルトインコマンドを定義します。

Shell::CommandProcessor#finish_all_jobs (3102.0)

@todo

@todo

Shell::CommandProcessor#[](command, file1, file2 = nil) -> bool | Time | Integer | nil (102.0)

Kernel.#test や FileTest のメソッドに処理を委譲します。

...のパスを指定します。

@param file2 文字列でファイルへのパスを指定します。

require 'shell'
Shell.verbose = false
sh = Shell.new
b
egin
sh.mkdir("foo")
rescue
end
p sh[?e, "foo"] # => true
p sh[:e, "foo"] # => true
p sh["e", "foo"]...

絞り込み条件を変える

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

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

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

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

@see FileTest.#chardev?

Shell::CommandProcessor#concat(*jobs) -> Shell::Concat (102.0)

@todo

@todo
<< 1 2 3 > >>