るりまサーチ (Ruby 2.2.0)

最速Rubyリファレンスマニュアル検索!
2件ヒット [1-2件を表示] (0.038秒)
トップページ > バージョン:2.2.0[x] > クエリ: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 (72658.0)

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

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

@param object 元となるソースファイル名を取得したいobjectを指定します。
@return objectの元となるソースファイル名を返します。存在しない場合はnilを返します。

//emlist[例:test.rbというファイルで下記のスクリプトを実行した場合][ruby]{
require 'objspace'

ObjectSpace::trace_object_allocations_start
obj = Object.new
puts "file:#{ObjectSpace::allocation_sourc...

NEWS for Ruby 2.1.0 (55.0)

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

...をサポート

* rinda
* Rinda::RingServer, Rinda::RingFinger
* マルチキャストソケットをサポート

* rubygems
* 2.2.0 に更新。 Notable new features include:
* Gemfile or gem.deps.rb support including Gem.file.lock (experimental)
* Improved, iterati...