Actions
Bug #5393
closedsome style fixes in enum.c docs
Bug #5393:
some style fixes in enum.c docs
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