rubyist
rubyist copied to clipboard
Ruby Quality Guidelines
I wonder if there is consensus on how/when to use single line method definitions. E.g. ``` def foo() bar end vs def foo; bar; end ``` It's a small thing,...
I realized these are missing, both as editor conventions (e.g., if base indent is 2, indent "private" keyword by 1 is what I use) and coding style. Off the top...
FWIW, I prefer to use an indent of _one_ when the normal indent is _two_ for a block ``` def foo bar rescue baz ensure quux end ``` There are...
There should probably be some notes about how to handle exceptions, of the top of my mind - only use inline rescue to provide a default value, or `next`ing during...
I disagree with a couple of things in the extensions page. Firstly, I feel that crossing out the word "monkeypatch" and having "hack" as a crossed-out term also makes the...