るりまサーチ

最速Rubyリファレンスマニュアル検索!
396件ヒット [201-300件を表示] (0.023秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:@[x] > ライブラリ:shell/command-processor[x]

クラス

キーワード

検索結果

<< < 1 2 3 4 > >>

Shell::CommandProcessor#ftype(filename) -> String (15.0)

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

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

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

@
see File.ftype...

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

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

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

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

動作例
require 'shell'
Sh...
...ell.def_system_command("head")
sh = Shell.new
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#grpowned?(file) -> bool (15.0)

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

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

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

@
see FileTest.#grpowned?...

Shell::CommandProcessor#join(*item) -> String (15.0)

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

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

@
param item 連結したいディレクトリ名やファイル名を文字列で与えます。

@
see File.join...

Shell::CommandProcessor#lstat(filename) -> File::Stat (15.0)

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

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

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

@
see File.lstat...

絞り込み条件を変える

Shell::CommandProcessor#mkdir(*path) -> Array (15.0)

Dir.mkdirと同じです。 (複数可)

...Dir.mkdirと同じです。 (複数可)

@
param path 作成するディレクトリ名を文字列で指定します。

@
return 作成するディレクトリの一覧の配列を返します。

使用例
require 'shell'
Shell.verbose = false
sh = Shell.new
begin
p sh.mkdir("foo") #=>...

Shell::CommandProcessor#mtime(filename) -> Time (15.0)

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

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

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

@
see File.mtime...

Shell::CommandProcessor#out(dev = STDOUT, &block) -> () (15.0)

Shell#transact を呼び出しその結果を dev に出力します。

...Shell#transact を呼び出しその結果を dev に出力します。

@
param dev 出力先をIO オブジェクトなどで指定します。

@
param block transact 内部で実行するシェルを指定します。


使用例:
require 'shell'
Shell.def_system_command("head")
sh = Shell...

Shell::CommandProcessor#owned?(file) -> bool (15.0)

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

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

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

@
see FileTest.#owned?...

Shell::CommandProcessor#pipe?(file) -> bool (15.0)

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

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

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

@
see FileTest.#pipe?...

絞り込み条件を変える

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

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

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

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

@
see FileTest.#readable?...

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

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

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

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

@
see FileTest.#readable_real?...

Shell::CommandProcessor#readlink(path) -> String (15.0)

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

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

@
param path シンボリックリンクを表す文字列を指定します。

@
see File.readlink...

Shell::CommandProcessor#rm(*filename) -> Integer (15.0)

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

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

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

@
see File.delete...

Shell::CommandProcessor#setgid?(file) -> bool (15.0)

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

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

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

@
see FileTest.#setgid?...

絞り込み条件を変える

Shell::CommandProcessor#setuid?(file) -> bool (15.0)

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

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

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

@
see FileTest.#setuid?...

Shell::CommandProcessor#size(file) -> Integer (15.0)

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

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

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

@
see FileTest.#size FileTest.#size?...
<< < 1 2 3 4 > >>