Project

General

Profile

Bug #3717

Minor mistype in Enum#inject documentation

Added by dre3k (Andrei Kulakov) almost 10 years ago. Updated over 9 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Target version:
-
ruby -v:
1.9.2
Backport:
[ruby-core:31768]

Description

=begin
There is a missing forward slash in enum.c at line 530 that cause rdoc
to generate broken output. Bug exists in ruby1.9.2p0 and ruby1.9.3dev.

--- enum.c 2010-08-19 01:22:53.000000000 +0300
+++ enum.c 2010-08-19 01:30:38.154117026 +0300
@@ -527,7 +527,7 @@

  • operation, specified by a block or a symbol that names a
  • method or operator. *
    • * If you specify a block, then for each element in enum
    • * If you specify a block, then for each element in enum
  • the block is passed an accumulator value (memo) and the element.
  • If you specify a symbol instead, then each element in the collection
  • will be passed to the named method of memo. =end
#1

Updated by naruse (Yui NARUSE) almost 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

=begin
This issue was solved with changeset r29043.
Andrei, thank you for reporting this issue.
Your contribution to Ruby is greatly appreciated.
May Ruby be with you.

=end

Also available in: Atom PDF