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 488e6c5 commit a561b20Copy full SHA for a561b20
ruby/conditional_modifiers.md
@@ -1,6 +1,6 @@
1
# Limit use of conditional modifiers to short, simple cases
2
3
-Conditional modifiers (i.e., `if` or `unless` at the end of a line) be
+Conditional modifiers (i.e., `if` or `unless` at the end of a line) can be
4
surprising when they appear on long or complex lines. The reader might not see
5
them while scanning the code.
6
@@ -21,7 +21,7 @@ end
21
## Complex conditions
22
23
However, if the line is too long (around 80 characters) or complex (e.g., an
24
-`if` with multiple conditions `if a && b`) prefer the multi-line form:
+`if` with multiple conditions like `if a && b`) prefer the multi-line form:
25
26
```ruby
27
# Avoid
0 commit comments