るりまサーチ

最速Rubyリファレンスマニュアル検索!
3418件ヒット [1-100件を表示] (0.093秒)
トップページ > クエリ:-[x] > クエリ:cat[x]

別のキーワード

  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 (18213.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 (18213.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 (18213.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) |...

OpenSSL::X509::V_ERR_APPLICATION_VERIFICATION -> Integer (12300.0)

アプリケーションが利用するエラーコードです。

アプリケーションが利用するエラーコードです。

OpenSSL のライブラリでは使われないので、
アプリケーションプログラマが自由に利用することが可能です。

OpenSSL::X509::Store#error や
OpenSSL::X509::StoreContext#error のエラーコードとして
使われます。

@see OpenSSL::X509::Store#verify_callback=,
OpenSSL::X509::StoreContext#error=

Gem::Specification::NONEXISTENT_SPECIFICATION_VERSION -> -1 (9201.0)

明確に指定されていない時の gemspec のバージョンを表します。

明確に指定されていない時の gemspec のバージョンを表します。

絞り込み条件を変える

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

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

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

Gem::Specification::CURRENT_SPECIFICATION_VERSION -> 2 (9200.0)

現在の gemspec のバージョンを表す定数です。

現在の gemspec のバージョンを表す定数です。

Gem::Specification::SPECIFICATION_VERSION_HISTORY -> Hash (9200.0)

gemspec ファイルのバージョンの歴史を表す定数です。

gemspec ファイルのバージョンの歴史を表す定数です。

Exception#backtrace_locations -> [Thread::Backtrace::Location] (6306.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 (6300.0)

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

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

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

絞り込み条件を変える

Gem::SourceIndex.load_specification(file_name) -> Gem::Specification | nil (6300.0)

与えられたファイル名から Ruby スクリプト形式の gemspec をロードして Gem::Specification のインスタンスを返します。

...与えられたファイル名から Ruby スクリプト形式の gemspec をロードして
Gem::Specification のインスタンスを返します。

@param file_name ファイル名を指定します。

@raise SignalException gemspec をロードしているときに発生します。

@raise...
<< 1 2 3 ... > >>