Bug #7753

Module#attr_reader documentation uses an undefined variable

Added by Narsimham Chelluri about 1 year ago. Updated about 1 year ago.

[ruby-core:51737]
Status:Closed
Priority:Normal
Assignee:Eric Hodel
Category:doc
Target version:-
ruby -v:ruby 1.9.3p327 (2012-11-10 revision 37606) [x86_64-darwin11.4.2] Backport:

Description

Current text is:
-- Cut here --
attr_writer(symbol, ...) → nil

Creates an accessor method to allow assignment to the attribute aSymbol.id2name.
-- Cut here --

Note that the signature refers to symbol but the body refers to aSymbol.

rdoc_changes_to_module.patch Magnifier - Patch fixes erroroneous documentation; applies successfully to trunk, 1.8, and 1.9.3 (385 Bytes) Narsimham Chelluri, 01/30/2013 03:44 AM

Associated revisions

Revision 38976
Added by Marc-Andre Lafortune about 1 year ago

  • object.c: Fix rdoc typo, patch by Narsimham Chelluri [#7753].

History

#1 Updated by Zachary Scott about 1 year ago

  • Status changed from Open to Closed

Thank you Narsimham Chelluri, this issue was resolved by r38976.

Also available in: Atom PDF