Skip to content

Commit fad206a

Browse files
committed
Update format (minor)
1 parent 8a587d7 commit fad206a

2 files changed

Lines changed: 10 additions & 3 deletions

File tree

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
print 'Hello World'
1+
print 'Hello World'

1_Introduction/2_Hello_World/task.md

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
# Say Hello World in Ruby
22

3+
---
4+
5+
*You will learn:*
6+
- how to print to the standard otuput
7+
8+
---
9+
310
In Ruby you can print to the standard output by using the *print* method.
411
If you want to print a new line you can use the *puts* (or the shorter *p*)
512
method.
@@ -14,10 +21,10 @@ and turns them into a String before printing to the the standard output
1421
The two *''* declare a Ruby String object. You can also use *""* to create a
1522
String. We will discuss the difference of *''* and *""* later on.
1623

17-
## For now, let's do the Hello World example in Ruby:
24+
For now, let's do the Hello World example in Ruby:
1825

1926
-----
2027

21-
Print out *Hello* *World* to the standard output!
28+
Print out *Hello World* to the standard output!
2229

2330
-----

0 commit comments

Comments
 (0)