2014-10-20から1日間の記事一覧
概要 ObjectSpace#count_objects(result_hash = {}) -> Hash 詳細 オブジェクトを種類ごとにカウントした結果を Hash として返却。 サンプルコード require 'tbpgr_utils' hash = {} bulk_puts_eval binding, <<-EOS ObjectSpace.count_objects class Hoge; …
概要 ObjectSpace#count_objects(result_hash = {}) -> Hash 詳細 オブジェクトを種類ごとにカウントした結果を Hash として返却。 サンプルコード require 'tbpgr_utils' hash = {} bulk_puts_eval binding, <<-EOS ObjectSpace.count_objects class Hoge; …