るりまサーチ

最速Rubyリファレンスマニュアル検索!
498件ヒット [1-100件を表示] (0.098秒)
トップページ > クエリ:l[x] > クエリ:shell[x] > クラス:Shell::CommandProcessor[x]

別のキーワード

  1. kernel $-l
  2. matrix l
  3. _builtin $-l
  4. lupdecomposition l
  5. l

検索結果

<< 1 2 3 ... > >>

Shell::CommandProcessor.add_delegate_command_to_shell(id) (18208.0)

@todo

...@todo

Shell
自体を初期化する時に呼び出されるメソッドです。
ユーザが使用することはありません。

@param id メソッド名を指定します。...

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

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

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

Shell::CommandProcessor.install_system_commands(prefix = "sys_") -> () (12101.0)

全てのシステムコマンドをメソッドとして定義します。

全てのシステムコマンドをメソッドとして定義します。

既に定義されているコマンドを再定義することはありません。
デフォルトでは全てのコマンドに "sys_" というプレフィクスが付きます。
また、メソッド名として使用できない文字は全て "_" に置換してメソッドを定義します。
このメソッドの実行中に発生した例外は単に無視されます。

@param prefix プレフィクスを指定します。

Shell::CommandProcessor#glob(pattern) -> Shell::Filter (9232.0)

実行すると, それらを内容とする Filter オブジェクトを返します.

...Filter オブジェクトを返します.

@param pattern シェルコマンド glob に与えるパターンを指定します。
パターンの書式については、Dir.[] を参照してください。

動作例
require 'shell'
Shell
.def_system_command("head")
sh = Shell.n...
...ew
sh.transact {
glob("*.txt").to_a.each { |file|
file.chomp!
cat(file).each { |l|
echo(l) | tee(file + ".tee") >> "all.tee"
}
}
}

@see Dir.[]...

Shell::CommandProcessor#delete(*filename) -> Integer (9201.0)

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

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

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

@see File.delete...

絞り込み条件を変える

Shell::CommandProcessor#executable?(file) -> bool (9201.0)

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

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

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

@see FileTest.#executable?...

Shell::CommandProcessor#executable_real?(file) -> bool (9201.0)

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

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

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

@see FileTest.#executable_real?...

Shell::CommandProcessor#file?(file) -> bool (9201.0)

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

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

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

@see FileTest.#file?...

Shell::CommandProcessor#readable?(file) -> bool (9201.0)

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

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

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

@see FileTest.#readable?...

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

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

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

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

@see FileTest.#readable_real?...

絞り込み条件を変える

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

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

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

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

@see FileTest.#writable?...

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

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

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

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

@see FileTest.#writable_real?...

Shell::CommandProcessor.alias_command(alias, command, *opts) -> self (9201.0)

@todo

...@todo

@param alias エイリアスの名前を指定します。

@param command コマンド名を指定します。

@param opts コマンドに与えるオプションを指定します。

@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。...

Shell::CommandProcessor.alias_command(alias, command, *opts) { ... } -> self (9201.0)

@todo

...@todo

@param alias エイリアスの名前を指定します。

@param command コマンド名を指定します。

@param opts コマンドに与えるオプションを指定します。

@raise SyntaxError コマンドのエイリアス作成に失敗した時に発生します。...

Shell::CommandProcessor.unalias_command(alias) -> self (9201.0)

エイリアスを削除します。

...エイリアスを削除します。

@param alias 削除したいエイリアスを指定します。...

絞り込み条件を変える

Shell::CommandProcessor.alias_map -> Hash (9117.0)

Shell::CommandProcessor.alias_command で定義したエイリアスの一覧を返します。

...
Shell::CommandProcessor
.alias_command で定義したエイリアスの一覧を返します。...

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

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

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

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

@see FileTest.#blockdev?...
<< 1 2 3 ... > >>