Current Path : /usr/local/share/ri/1.8/system/ObjectSpace/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //usr/local/share/ri/1.8/system/ObjectSpace/_id2ref-c.yaml |
--- !ruby/object:RI::MethodDescription aliases: [] block_params: comment: - !ruby/struct:SM::Flow::P body: Converts an object id to a reference to the object. May not be called on an object id passed as a parameter to a finalizer. - !ruby/struct:SM::Flow::VERB body: " s = "I am a string" #=> "I am a string"\n r = ObjectSpace._id2ref(s.object_id) #=> "I am a string"\n r == s #=> true\n" full_name: ObjectSpace::_id2ref is_singleton: true name: _id2ref params: | ObjectSpace._id2ref(object_id) -> an_object visibility: public