Actions
Bug #4709
closedRevise documentation for Singleton
Description
Singleton seemed to be light on documentation, and it included some non-working example code that seemed to function as documentation and tests. In addition, a few classes and methods in the example code were picked up by Rdoc.
The first patch:
- Removes the example code.
- Revises the documentation.
The second patch:
- Adds some basic tests for Singleton.
Files
Updated by drbrain (Eric Hodel) over 13 years ago
Can you split the tests change into a separate issue?
Updated by phiggins (Pete Higgins) over 13 years ago
I moved the tests into their own issue: http://redmine.ruby-lang.org/issues/4715
Updated by drbrain (Eric Hodel) over 13 years ago
- Status changed from Open to Closed
- % Done changed from 0 to 100
This issue was solved with changeset r31613.
Pete, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.
- lib/singleton.rb: Improve documentation. Patch by Pete Higgins.
[Ruby 1.9 - Bug #4709]
Actions
Like0
Like0Like0Like0