るりまサーチ

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

別のキーワード

  1. shell cat
  2. cat new
  3. cat each
  4. filter cat
  5. shell/filter cat

クラス

キーワード

検索結果

<< 1 2 3 ... > >>

Shell#cat(*files) -> Shell::Filter (18119.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|...

Shell::CommandProcessor#cat(*files) -> Shell::Filter (18119.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|...

Shell::Filter#cat(*files) -> Shell::Filter (18119.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|...

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

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

...ので、
アプリケーションプログラマが自由に利用することが可能です。

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

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

RSS::Maker::ChannelBase::CategoriesBase#new_category (9116.0)

@todo 新しくcategoryを作成し,返します.作成された categoryはcategoryリストの最後 に追加されています.

...@todo
新しくcategoryを作成し,返します.作成された
cat
egoryはcategoryリストの最後
に追加されています....

絞り込み条件を変える

RSS::Maker::RSS20::Items::Item::Categories#new_category (9116.0)

@todo 新しくcategoryを作成し,返します.作成された categoryはcategoryリストの最後 に追加されています.

...@todo
新しくcategoryを作成し,返します.作成された
cat
egoryはcategoryリストの最後
に追加されています.

item.categories.new_categoryが作成する
cat
egoryは
maker.channel.categories.new_categoryが作成する
cat
egoryと同じAPIを持ちます....

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

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

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

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

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

Rake.application -> Rake::Application (6296.0)

現在の Rake アプリケーションを返します。

...p'

task default: :test_rake_app
task :test_rake_app do
pp Rake.application
end

# => #<Rake::Application:0x31b0f18
# @default_loader=#<Rake::DefaultLoader:0x31b0c78>,
# @imported=[],
# @last_description=nil,
# @loaders=
# {".rb"=>#<Rake::DefaultLoader:0x31b0c18>,
# ".rf...
...10>},
# @name="rake",
# @options=#<OpenStruct rakelib=["rakelib"], trace_output=#<IO:<STDERR>>>,
# @original_dir="/path/to/dir",
# @pending_imports=[],
# @rakefile="rakefile",
# @rakefiles=["rakefile", "Rakefile", "rakefile.rb", "Rakefile.rb"],
# @rules=[],
# @scope=L...
...L(),
# @tasks=
# {"default"=><Rake::Task default => [test_rake_app]>,
# "test_rake_app"=><Rake::Task test_rake_app => []>},
# @terminal_columns=0,
# @top_level_tasks=["default"],
# @tty_output=false>
//}...

Kernel.#caller_locations(range) -> [Thread::Backtrace::Location] | nil (6224.0)

現在のフレームを Thread::Backtrace::Location の配列で返します。引 数で指定した値が範囲外の場合は nil を返します。

...を Thread::Backtrace::Location の配列で返します。引
数で指定した値が範囲外の場合は nil を返します。

@
param start 開始フレームの位置を数値で指定します。

@
param length 取得するフレームの個数を指定します。

@
param range 取得し...
...by]{
def test1(start, length)
locations = caller_locations(start, length)
p locations
p locations.map(&:lineno)
p locations.map(&:path)
end

def test2(start, length)
test1(start, length)
end

def test3(start, length)
test2(start, length)
end

caller_locations # => []
test3(1, nil)
# => [...
...(1, 2)
# => ["/Users/user/test.rb:9:in `test2'", "/Users/user/test.rb:13:in `test3'"]
# => [9, 13]
# => ["/Users/user/test.rb", "/Users/user/test.rb"]
test3(2, 1)
# => ["/Users/user/test.rb:13:in `test3'"]
# => [13]
# => ["/Users/user/test.rb"]
//}

@
see Thread::Backtrace::Location, Kernel.#caller...

Kernel.#caller_locations(start = 1, length = nil) -> [Thread::Backtrace::Location] | nil (6224.0)

現在のフレームを Thread::Backtrace::Location の配列で返します。引 数で指定した値が範囲外の場合は nil を返します。

...を Thread::Backtrace::Location の配列で返します。引
数で指定した値が範囲外の場合は nil を返します。

@
param start 開始フレームの位置を数値で指定します。

@
param length 取得するフレームの個数を指定します。

@
param range 取得し...
...by]{
def test1(start, length)
locations = caller_locations(start, length)
p locations
p locations.map(&:lineno)
p locations.map(&:path)
end

def test2(start, length)
test1(start, length)
end

def test3(start, length)
test2(start, length)
end

caller_locations # => []
test3(1, nil)
# => [...
...(1, 2)
# => ["/Users/user/test.rb:9:in `test2'", "/Users/user/test.rb:13:in `test3'"]
# => [9, 13]
# => ["/Users/user/test.rb", "/Users/user/test.rb"]
test3(2, 1)
# => ["/Users/user/test.rb:13:in `test3'"]
# => [13]
# => ["/Users/user/test.rb"]
//}

@
see Thread::Backtrace::Location, Kernel.#caller...

絞り込み条件を変える

<< 1 2 3 ... > >>