Project

General

Profile

Actions

Bug #5393

closed

some style fixes in enum.c docs

Added by bt (Bernd Homuth) about 13 years ago. Updated about 13 years ago.

Status:
Closed
Target version:
ruby -v:
-
Backport:
[ruby-core:39886]

Description

There isn't much consistency in the docs when it comes to blocks. So I decided to go with the style that is most often used: {|obj| block }
No spaces, only around the block.

I can fix the other classes as well but before I do this let me know if this is the preferred style.

What about multiline blocks? They tend to look ugly. Curly braces everywhere and never ending chains.
See https://github.com/ruby/ruby/blob/trunk/enum.c#L2359-2364


Files

Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0