るりまサーチ

最速Rubyリファレンスマニュアル検索!
396件ヒット [1-100件を表示] (0.098秒)
トップページ > 種類:インスタンスメソッド[x] > クエリ:@[x] > クラス:Shell::CommandProcessor[x]

ライブラリ

キーワード

検索結果

<< 1 2 3 ... > >>

Shell::CommandProcessor#append(to, filter) -> Shell::AppendFile | Shell::AppendIO (30.0)

@todo

...@todo

@
param to 文字列か IO を指定します。

@
param filter Shell::Filter のインスタンスを指定します。...

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

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

...

@
param command 数値、またはサイズが 1 の文字列の場合は Kernel.#test に処理委譲します。
2 文字以上の文字列の場合は FileTest のメソッドとして実行します。

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

@
para...
...ell'
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"] # => true
p sh[:exists?, "foo"] # => true
p sh["exists?", "foo"] # => true

@
see Kernel.#test, FileTest...

Shell::CommandProcessor#chown(owner, group, *filename) -> Integer (26.0)

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

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

@
param owner chown(2) と同様に数値で指定します。nil または -1 を指定することで、オーナーを現在のままにすることができます。

@
param group chown(2) と同様に数値で指定します。nil...
...または -1 を指定することで、グループを現在のままにすることができます。

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

@
see File.chown...

Shell::CommandProcessor#test(command, file1, file2 = nil) -> bool | Time | Integer | nil (26.0)

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

...

@
param command 数値、またはサイズが 1 の文字列の場合は Kernel.#test に処理委譲します。
2 文字以上の文字列の場合は FileTest のメソッドとして実行します。

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

@
para...
...ell'
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"] # => true
p sh[:exists?, "foo"] # => true
p sh["exists?", "foo"] # => true

@
see Kernel.#test, FileTest...

Shell::CommandProcessor#utime(atime, mtime, *filename) -> Integer (26.0)

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

...す.

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

@
param atime 最終アクセス時刻を Time か、起算時からの経過秒数を数値で指定します。

@
param utime 更新時刻を Time か、起算時からの経過秒数を数値で指定します。

@
see F...

絞り込み条件を変える

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

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

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

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

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

Shell::CommandProcessor#chmod(mode, *filename) -> Integer (20.0)

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

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

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

@
param mode chmod(2) と同様に整数で指定します。

@
see File.chmod...

Shell::CommandProcessor#link(old, new) -> 0 (20.0)

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

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

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

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

@
see File.link...

Shell::CommandProcessor#open(path, mode) -> File | Dir (20.0)

path がファイルなら、 File.open path がディレクトリなら、 Dir.open の動作をします。

...がファイルなら、 File.open path がディレクトリなら、 Dir.open の動作をします。

@
param path 開きたいパスを指定します。

@
param mode アクセスモードを指定します。path がディレクトリの場合は無視されます。

@
see File.open, Dir.open...

Shell::CommandProcessor#rename(from, to) -> 0 (20.0)

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

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

@
param from ファイルの名前を文字列で与えます。

@
param to 新しいファイル名を文字列で与えます。

@
see File.rename...

絞り込み条件を変える

Shell::CommandProcessor#symlink(old, new) -> 0 (20.0)

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

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

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

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

@
see File.symlink...

Shell::CommandProcessor#truncate(path, length) -> 0 (20.0)

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

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

@
param path パスを表す文字列を指定します。

@
param length 変更したいサイズを整数で与えます。

@
see File.truncate...

Shell::CommandProcessor#check_point (18.0)

@todo

...@todo...

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

@todo

...@todo...

Shell::CommandProcessor#find_system_command(command) (18.0)

@todo

...@todo...

絞り込み条件を変える

Shell::CommandProcessor#finish_all_jobs (18.0)

@todo

...@todo...

Shell::CommandProcessor#identical? (18.0)

@todo

...@todo...
<< 1 2 3 ... > >>