Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d13cd9d

Browse files
committed
Merge pull request rubocop#36 from mitio/wording-consistency
Use consistently "multi-line", not "multiline".
2 parents 324df32 + c3ba754 commit d13cd9d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ community.
120120
arr.each { |elem| puts elem }
121121
```
122122

123-
* Never use `then` for multiline `if/unless`.
123+
* Never use `then` for multi-line `if/unless`.
124124

125125
```Ruby
126126
# bad
@@ -188,7 +188,7 @@ community.
188188
document.saved? or document.save!
189189
```
190190
191-
* Avoid multiline ?: (the ternary operator), use `if/unless` instead.
191+
* Avoid multi-line ?: (the ternary operator), use `if/unless` instead.
192192
* Favor modifier `if/unless` usage when you have a single-line
193193
body. Another good alternative is the usage of control flow `and/or`.
194194

0 commit comments

Comments
 (0)