るりまサーチ (Ruby 2.7.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.014秒)
トップページ > クエリ:backtrace[x] > バージョン:2.7.0[x] > 種類:クラス[x]

別のキーワード

  1. _builtin backtrace_locations
  2. _builtin backtrace
  3. thread backtrace_locations
  4. thread backtrace
  5. exception backtrace

キーワード

検索結果

Thread::Backtrace::Location (9022.0)

Ruby のフレームを表すクラスです。

...例1の実行結果:

caller_locations.rb:2:in `a'
caller_locations.rb:5:in `b'
caller_locations.rb:8:in `c'

//emlist[例2][ruby]{
# foo.rb
class
Foo
attr_accessor :locations
def initialize(skip)
@locations = caller_locations(skip)
end
end

Foo.new(0..2).locations.map do |call|
p...

Gem::Commands::WhichCommand (22.0)

指定された Gem パッケージに含まれるライブラリのパスを見つけるためのクラスです。

指定された Gem パッケージに含まれるライブラリのパスを見つけるためのクラスです。

Usage: gem which FILE [...] [options]
Options:
-a, --[no-]all show all matching files
-g, --[no-]gems-first search gems before non-gems
Common Options:
-h, --help このコマンドのヘルプを表示し...