You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+14-14
Original file line number
Diff line number
Diff line change
@@ -1,24 +1,18 @@
1
-
##Objectives
1
+
#Variable Assignment
2
2
3
-
Test your ability to assign a local variable
3
+
## Objectives
4
4
5
-
##Instructions
5
+
1. Test your ability to assign a local variable.
6
6
7
-
You will assign a local variable named `greeting` that is equal to `Hello World`.
8
-
9
-
You should first make sure the test suite is running correctly by running: `learn`.
10
-
11
-
If you get:
7
+
## Instructions
12
8
13
-
```
14
-
-bash: learn: command not found
15
-
```
9
+
You will assign a local variable named `greeting` that is equal to `Hello World`.
16
10
17
-
You need to install learn. Do that via: `gem install learn-co` in your command line.
11
+
You should first make sure the test suite is running correctly by running `learn`.
18
12
19
13
Upon the first run of the test suite you should see:
20
14
21
-
```
15
+
```bash
22
16
FF
23
17
24
18
Failures:
@@ -34,8 +28,14 @@ Failures:
34
28
Finished in 0.00048 seconds
35
29
2 examples, 1 failure
36
30
```
31
+
However, if you get:
32
+
33
+
```bash
34
+
-bash: learn: command not found
35
+
```
36
+
Then you need to install Learn. Do that via: `gem install learn-co` in your command line.
37
37
38
-
To solve this error, create a local variable, "greeting" in the `variable.rb` file. Set this variable equal to the string "Hello World". Run `learn` to see if you did this correctly.
38
+
To solve this test failure, create a local variable`greeting` in the `variable.rb` file. Set `greeting`equal to the string `"Hello World"`. Run `learn` to see if you did this correctly.
39
39
40
40
## Resources
41
41
*[Learn to Program](https://pine.fm/LearnToProgram/chap_03.html)
0 commit comments