Skip to content

Commit e79bc7d

Browse files
authored
Merge pull request #193 from lelyu/features
fix typos (eng)
2 parents 7b900b3 + bb1d17a commit e79bc7d

File tree

3 files changed

+22
-22
lines changed

3 files changed

+22
-22
lines changed

translations/en/try_ruby_160.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,24 @@
11
---
2-
lang: EN
3-
title: Saved, Tucked Away
2+
lang: EN
3+
title: Saved, Tucked Away
44
answer: \[12, 35, 47\]
5-
load: ticket = [12, 47, 35]
6-
ok: You've sorted the list
7-
error:
5+
load: ticket = [12, 47, 35]
6+
ok: You've sorted the list
7+
error:
88
---
99

10-
You've hung on to your lotto numbers, tucking them away inside a __variable__ called ticket.
10+
You've hung on to your lotto numbers, tucking them away inside a **variable** called ticket.
1111
But any other name, like _jimmyslist_, would have been fine too.
1212

1313
Programming, you will discover, is mostly about working with variables.
1414

1515
Let's put your lotto numbers in order, how about?
1616

17-
Use:
17+
Use:
1818

1919
ticket.sort!
20-
20+
2121
You had a list. You sorted the list. The ticket variable is now changed.
2222
Did you notice that the _sort!_ method has a big, bright exclamation at the end?
2323
A lot of times Ruby methods shout like that if they alter the variable for good.
24-
It's nothin special, just a mark.
24+
It's nothing special, just a mark.

translations/en/try_ruby_190.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
lang: EN
3-
title: Sadly, You Hate Toast Poetry
2+
lang: EN
3+
title: Sadly, You Hate Toast Poetry
44
answer: (toast){0}
5-
load: prev
6-
ok: Excellent
7-
error: Still smells like toast to me
5+
load: prev
6+
ok: Excellent
7+
error: Still smells like toast to me
88
---
99

1010
Look, it's okay. You don't have to like it. Hack it up, be my guest. Instead of toast, go for a
1111
melon or something. Try this to see the new poem:
1212

1313
poem.gsub("toast", "honeydew")
1414

15-
The __gsub__ method is short for global substitute. It replaces all occurences of "toast" with
15+
The **gsub** method is short for global substitute. It replaces all occurrences of "toast" with
1616
"honeydew".

translations/en/try_ruby_440.md

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,16 +1,16 @@
11
---
2-
lang: EN
3-
title: Me hungry
2+
lang: EN
3+
title: Me hungry
44
answer: ^Me not hungry
5-
ok: Yes
6-
error: No way am I hungry at 10 AM!
5+
ok: Yes
6+
error: No way am I hungry at 10 AM!
77
---
88

99
Okay, this is coming along wonderfully. This is simple stuff for you, but keep in mind that you
10-
didn't know __any Ruby whatsoever__ just fifteen minutes ago!
10+
didn't know **any Ruby whatsoever** just fifteen minutes ago!
1111

1212
Last step. Let's tie it all together, you know? Let's make it chime together like a very nice set
13-
of glistening chimes on the beach in the maginificent sunlight!
13+
of glistening chimes on the beach in the magnificent sunlight!
1414

1515
We'll define two methods first and then take a decision:
1616

@@ -27,5 +27,5 @@ We'll define two methods first and then take a decision:
2727

2828
eat_an 'apple' if hungry?(10)
2929

30-
Now see if you can change the method __hungry?__ to display __"Me not hungry"__ and returning false
30+
Now see if you can change the method **hungry?** to display **"Me not hungry"** and returning false
3131
when the time is less than 12.

0 commit comments

Comments
 (0)