るりまサーチ

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

別のキーワード

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

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

Shell::Filter#cat(*files) -> Shell::Filter (21314.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#cat(*files) -> Shell::Filter (18314.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::CommandProcessor#cat(*files) -> Shell::Filter (18314.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"
}
}
}...

Rake::InvocationChain::EmptyInvocationChain#append(task_name) -> Rake::InvocationChain (18301.0)

与えられた値を追加した Rake::InvocationChain を返します。

...与えられた値を追加した Rake::InvocationChain を返します。

@param task_name 追加する値を指定します。...

Gem::Specification#specification_version -> Integer (18201.0)

この Gem パッケージに用いられている gemspec のバージョンを返します。

この Gem パッケージに用いられている gemspec のバージョンを返します。

絞り込み条件を変える

Gem::Specification#specification_version=(version) (18201.0)

この Gem パッケージに用いられている gemspec のバージョンをセットします。

...この Gem パッケージに用いられている gemspec のバージョンをセットします。

@param version gemspec のバージョンを指定します。

@see Gem::Specification::SPECIFICATION_VERSION_HISTORY...

WEBrick::HTTPAuth::BasicAuth#authenticate(request, response) -> bool (18201.0)

クライアントから送られてきたユーザ名とパスワードを認証します。 認証に失敗した場合は challenge を呼びます。

...した場合は challenge を呼びます。

@param request WEBrick::HTTPRequest のインスタンスを指定します。

@param response WEBrick::HTTPResponse のインスタンスを指定します。

@raise WEBrick::HTTPStatus::Unauthorized 認証に失敗した場合に発生します。...

Rake::InvocationChain::EmptyInvocationChain#to_s -> String (18101.0)

'TOP' という文字列を返します。

'TOP' という文字列を返します。

Rake::InvocationChain::EmptyInvocationChain#member?(task_name) -> bool (18001.0)

偽を返します。

偽を返します。

Exception#backtrace_locations -> [Thread::Backtrace::Location] (15401.0)

バックトレース情報を返します。Exception#backtraceに似ていますが、 Thread::Backtrace::Location の配列を返す点が異なります。

...ception#backtraceに似ていますが、
Thread::Backtrace::Location の配列を返す点が異なります。

現状では Exception#set_backtrace によって戻り値が変化する事はあり
ません。

//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
return if D...
...aise "#{month} is not long month"
end

def get_exception
return begin
yield
rescue => e
e
end
end

e = get_exception { check_long_month(2) }
p e.backtrace_locations
# => ["test.rb:4:in `check_long_month'", "test.rb:15:in `block in <main>'", "test.rb:9:in `get_exception'", "test.rb:15:i...
...n `<main>'"]
//}

@see Exception#backtrace...

絞り込み条件を変える

<< 1 2 3 ... > >>