We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f915b0 commit 21836e2Copy full SHA for 21836e2
ruby/README.md
@@ -201,7 +201,7 @@ engines:
201
- Use `%r{ }` for regular expressions containing more than one `/`
202
- Use `%w[ ]` for word-arrays
203
- Use `%{ }` for strings containing more than one double quote
204
-- Use `do`/`end` for multi-line blocks and `{ }` for single-line blocks
+- Use `do`/`end` for procedural blocks and `{ }` for functional blocks, i.e. `{ }` if it returns a value `do`/`end` otherwise
205
- Use a trailing comma in all lists
206
207
```rb
0 commit comments