るりまサーチ

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

別のキーワード

  1. objspace allocation_sourcefile
  2. objspace allocation_sourceline
  3. objectspace allocation_sourcefile
  4. objectspace allocation_sourceline
  5. allocation_sourcefile objspace

種類

ライブラリ

モジュール

検索結果

ObjectSpace.#allocation_sourcefile(object) -> String (24219.0)

objectの元となったソースファイル名を返します。

...トを実行した場合][ruby]{
require 'objspace'

ObjectSpace::trace_object_allocations_start
obj = Object.new
puts "file:#{ObjectSpace::allocation_sourcefile(obj)}" # => file:test.rb
ObjectSpace::trace_object_allocations_stop
//}

@see ObjectSpace.#trace_object_allocations_start,
ObjectSp...

NEWS for Ruby 2.1.0 (18.0)

NEWS for Ruby 2.1.0 このドキュメントは前回リリース以降のバグ修正を除くユーザーに影響のある機能の変更のリストです。

...たもののみ)

* cgi/util
* 全てのクラスメソッドをモジュールに移動しました

* digest
* 拡張: Digest::Class.file コンストラクタのためにオプショナル引数を取れるようになりました

* matrix
* 追加: Vector#cross_product

* ne...
...* 追加: ObjectSpace.#trace_object_allocations_stop
* 追加: ObjectSpace.#trace_object_allocations_clear
* 追加: ObjectSpace.#allocation_sourcefile
* 追加: ObjectSpace.#allocation_sourceline
* 追加: ObjectSpace.#allocation_class_path
* 追加: ObjectSpace.#allocation_me...
...ルチキャストソケットをサポート

* rubygems
* 2.2.0 に更新。 Notable new features include:
* Gemfile or gem.deps.rb support including Gem.file.lock (experimental)
* Improved, iterative resolver (compared to RubyGems 2.1 and earlier)
* Support for a sharing...