Skip to content

Commit cd56231

Browse files
committed
Normalise the headings in Ruby Tutorial 2.
1 parent cd0ae7c commit cd56231

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

ruby/lesson2/tutorial.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@ _Use the **irb** to try out the examples_.
99

1010
> Don't forget to type!
1111
12-
### Printing
12+
### Writing to the console
1313

1414
`print` is similar to `puts` but it doesn't add a new line to the end of the output.
1515

1616
`print "x + y ="`
1717

18-
### Command line arguments
18+
### Reading from the console
1919

2020
To read input from the console:
2121

@@ -29,7 +29,7 @@ To read input without the new line use `chomp`
2929
input = gets.chomp
3030
```
3131

32-
###Ranges
32+
### Ranges
3333

3434
A range is an interval with a beginning and an end.
3535

0 commit comments

Comments
 (0)