查看网站首页
查看网站首页
查看 sitemap.xml
✏️ 正在编辑: _id2ref-c.yaml
路径:
/opt/alt/ruby18/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
💾 保存文件
← 返回文件管理器