Actions
Bug #3717
closedMinor mistype in Enum#inject documentation
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
Like0
Like0