Project

General

Profile

Actions

Bug #4210

closed

id rather than object_id used in 1.9 rdoc for ObjectSpace

Added by noodl (Vincent Bray) almost 14 years ago. Updated over 13 years ago.

Status:
Rejected
Assignee:
-
Target version:
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-darwin10.4.0]
Backport:
[ruby-core:33907]

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

Actions #1

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

Actions #2

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

Actions #3

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

Actions #4

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

Actions #5

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

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0