“ObjectSpace._id2ref”

hoppiehoppie のブックマーク 2014/11/30 01:52

その他

このブックマークにはスターがありません。
最初のスターをつけてみよう!

Can I or SHOULD I find an object by the object_id attribute in ruby?

    When I make a new object, let's say o = Object.new This object has an id, o.object_id #=> ######## I also make several other objects, using the Object class. What would be the best way to have ruby...

    \ コメントが サクサク読める アプリです /

    • App Storeからダウンロード
    • Google Playで手に入れよう