るりまサーチ

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

別のキーワード

  1. _builtin -
  2. open-uri open
  3. irb/input-method gets
  4. irb/input-method new
  5. matrix -

キーワード

検索結果

<< 1 2 3 ... > >>

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

実行すると, それらを内容とする 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) |...

Shell::CommandProcessor#cat(*files) -> Shell::Filter (18214.0)

実行すると, それらを内容とする 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) |...

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

実行すると, それらを内容とする 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) |...

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

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

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

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

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

...Thread::Backtrace::Location の配列を返す点が異なります。

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

//emlist[例: test.rb][ruby]{
require "date"
def check_long_month(month)
return if Date.new(2000, month, -1).day == 31
raise...
...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:in `<main>'"]
//}

@see...

絞り込み条件を変える

Gem::SourceIndex#specification(full_name) -> Gem::Specification | nil (6301.0)

指定された名前の Gem::Specification オブジェクトを返します。

...指定された名前の Gem::Specification オブジェクトを返します。

@param full_name Gem のフルネームを指定します。...

OpenSSL::PKCS12#certificate -> OpenSSL::X509::Certificate (6301.0)

自身が保持している証明書を返します。

自身が保持している証明書を返します。

OpenSSL::PKCS7#certificates -> [OpenSSL::X509::Certificate] | nil (6301.0)

署名に添付される証明書を配列で返します。

署名に添付される証明書を配列で返します。

OpenSSL::X509::ExtensionFactory#issuer_certificate -> OpenSSL::X509::Certificate | nil (6301.0)

自身に設定されている発行者(issuer)の証明書オブジェクトを返します。

自身に設定されている発行者(issuer)の証明書オブジェクトを返します。

証明書が設定されていない場合は nil を返します。

OpenSSL::X509::ExtensionFactory#subject_certificate -> OpenSSL::X509::Certificate | nil (6301.0)

自身に設定されている所有者(subject)の証明書オブジェクトを返します。

自身に設定されている所有者(subject)の証明書オブジェクトを返します。

証明書が設定されていない場合は nil を返します。

絞り込み条件を変える

<< 1 2 3 ... > >>