Project

General

Profile

Actions

Bug #3717

closed

Minor mistype in Enum#inject documentation

Added by dre3k (Andrei Kulakov) over 14 years ago. Updated over 13 years ago.

Status:
Closed
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
Actions

Also available in: Atom PDF

Like0
Like0