るりまサーチ

最速Rubyリファレンスマニュアル検索!
1014件ヒット [1-100件を表示] (0.149秒)

別のキーワード

  1. openssl t61string
  2. asn1 t61string
  3. matrix t
  4. t61string new
  5. fiddle type_size_t

モジュール

キーワード

検索結果

<< 1 2 3 ... > >>

FileUtils#sh(*cmd) {|result, status| ... } (24232.0)

与えられたコマンドを実行します。

...参照してください。


例:
sh
%{ls -ltr}

sh
'ls', 'file with spaces'

# check exit status after command runs
sh
%{grep pattern file} do |ok, res|
if ! ok
puts "pattern not found (status = #{res.exitstatus})"
end
end

@see Kernel.#exec, Kernel.#system...

Gem::ConfigFile#bulk_threshold=(bulk_threshold) (15401.0)

一括ダウンロードの閾値を設定します。

...一括ダウンロードの閾値を設定します。

@param bulk_threshold 数値を指定します。...

Gem::ConfigFile#bulk_threshold -> Integer (15201.0)

一括ダウンロードの閾値を返します。 インストールしていない Gem がこの数値を越えるとき一括ダウンロードを行います。

一括ダウンロードの閾値を返します。
インストールしていない Gem がこの数値を越えるとき一括ダウンロードを行います。

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

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

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

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

動作例
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"
}
}
}...

Shell::Filter#delete(*filename) -> Integer (12323.0)

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

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

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

@see File.delete...

絞り込み条件を変える

Shell::Filter#file?(file) -> bool (12215.0)

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

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

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

@see FileTest.#file?...

CGI::Session::FileStore#restore -> Hash (12201.0)

セッションの状態をファイルから復元したハッシュを返します。

セッションの状態をファイルから復元したハッシュを返します。

Shell::Filter#truncate(path, length) -> 0 (12123.0)

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

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

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

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

@see File.truncate...

Shell::AppendFile#input=(filter) (12101.0)

@todo

...@todo...

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

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

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

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

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

require 'shell'
Sh
ell.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#tee(file) -> Shell::Filter (9444.0)

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

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

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

動作例
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"
}
}
}...

Shell::CommandProcessor#tee(file) -> Shell::Filter (9444.0)

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

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

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

動作例
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"
}
}
}...

Shell#lstat(filename) -> File::Stat (9424.0)

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

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

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

@see File.lstat...
<< 1 2 3 ... > >>