Bug #4210
closedid rather than object_id used in 1.9 rdoc for ObjectSpace
Description
=begin
http://ruby-doc.org/ruby-1.9/classes/ObjectSpace.html
s/id/object_id/
Clearly this is a very minor issue. Is there a better place for this kind of docs issues?
=end
Updated by naruse (Yui NARUSE) almost 14 years ago
=begin
Docs issues are also here.
Anyway the document says "an object id", so it seems correct.
=end
Updated by noodl (Vincent Bray) almost 14 years ago
=begin
Sorry I meant the initial comments in the rdoc, like this:
define_finalizer(a, proc {|id| puts "Finalizer one on #{id}" })
Presumably #{id} should be ${object_id}, no?
=end
Updated by mitchellh (Mitchell Hashimoto) almost 14 years ago
=begin
The docs look correct to me. #{id} is referencing the parameter passed into the Proc, which can be named anything, but in this case id
.
No problem?
=end
Updated by noodl (Vincent Bray) almost 14 years ago
=begin
Yes, sorry, I missed that it was a block parameter. Apologies for the noise.
I'm not able to close this issue..
=end
Updated by usa (Usaku NAKAMURA) almost 14 years ago
- Status changed from Open to Rejected
=begin
Yes, sorry, I missed that it was a block parameter. Apologies for the noise.
np :)
=end