Skip to content

Commit 063305a

Browse files
authored
fix introduction.md in 'assembly-line' exercise (#1713)
1 parent 6619a5c commit 063305a

File tree

1 file changed

+2
-7
lines changed

1 file changed

+2
-7
lines changed

exercises/concept/assembly-line/.docs/introduction.md

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -88,8 +88,8 @@ end
8888

8989
## Else statement
9090

91-
The `else` statement can be used in conjunction with the `if` and `unless` statements.
92-
The `else` statement will be executed if the `if` branch or the `unless` branch is not executed.
91+
The `else` statement can be used in conjunction with the `if` statement.
92+
The `else` statement will be executed if the `if` branch is not executed.
9393

9494
```ruby
9595
value = 1
@@ -99,11 +99,6 @@ else
9999
"1 is not equal to 1"
100100
end
101101
# => "1 is equal to 1"
102-
103-
unless value < 2
104-
"1 is not greater than 2"
105-
end
106-
# => "1 is greater than 2"
107102
```
108103

109104
## "Cascading-if" statements

0 commit comments

Comments
 (0)