るりまサーチ

最速Rubyリファレンスマニュアル検索!
474件ヒット [201-300件を表示] (0.155秒)
トップページ > クエリ:i[x] > クエリ:l[x] > クラス:Shell::Filter[x]

別のキーワード

  1. _builtin to_i
  2. fiddle to_i
  3. matrix elements_to_i
  4. matrix i
  5. csv to_i

ライブラリ

キーワード

検索結果

<< < 1 2 3 4 5 > >>

Shell::Filter#setgid?(file) -> bool (9201.0)

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

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

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

@see FileTest.#setgid?...

Shell::Filter#setuid?(file) -> bool (9201.0)

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

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

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

@see FileTest.#setuid?...

Shell::Filter#size(file) -> Integer (9201.0)

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

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

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

@see FileTest.#size FileTest.#size?...

Shell::Filter#size?(file) -> Integer | nil (9201.0)

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

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

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

@see FileTest.#size FileTest.#size?...

Shell::Filter#sticky?(file) -> bool (9201.0)

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

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

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

@see FileTest.#sticky?...

絞り込み条件を変える

Shell::Filter#check_point (9101.0)

@todo

@todo

Shell::Filter#find_system_command(command) (9101.0)

@todo

@todo

Shell::Filter#mkdir(*path) -> Array (9101.0)

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

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

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

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

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

Shell::Filter#notify(*opts) { ... } -> () (9101.0)

@todo

@todo

Shell::Filter#rmdir(*path) -> () (9101.0)

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

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

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

絞り込み条件を変える

Shell::Filter#world_readable? (9101.0)

@todo

@todo

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

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

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

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

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

@see Kernel.#test, FileTest...

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

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

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

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

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

@see Kernel.#test, FileTest...

Shell::Filter#stat(filename) -> File::Stat (6401.0)

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

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

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

@see File.stat...

Shell::Filter#cat(*files) -> Shell::Filter (6313.0)

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

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

@param files シェルコマンド cat に与えるファイル名を文字列で指定します。

動作例
require 'shell'
Shell.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"
}
}
}...

絞り込み条件を変える

Shell::Filter#tee(file) -> Shell::Filter (6313.0)

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

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

@param file シェルコマンドtee に与えるファイル名を文字列で指定します。

動作例
require 'shell'
Shell.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"
}
}
}...

Shell::Filter#append(to, filter) -> Shell::AppendFile | Shell::AppendIO (6301.0)

@todo

...@todo

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

@param filter Shell::Filter のインスタンスを指定します。...
<< < 1 2 3 4 5 > >>