Skip to content

Commit ec91aef

Browse files
authored
Merge pull request #195 from kassadin/patch-1
fix typos (zh)
2 parents e79bc7d + 4b4e866 commit ec91aef

File tree

2 files changed

+1
-6
lines changed

2 files changed

+1
-6
lines changed

translations/zh/try_ruby_520.md

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,6 @@ load: prev;blurb2=Blurb.new :confused, "I can not believe Mt. Hood was stolen!
1212
但是现在,我们来回顾一下。
1313

1414
###
15-
Everything in Ruby is some kind of object. Classes explain objects, how a certain object works.
16-
For example, you made a few Blurb<sup>TM</sup> objects and these objects are explained in the Blurb
17-
class.
18-
In other words: you call them Blurb objects.
19-
You can use classes to (kinda) model real life objects.
2015
在Ruby中,一切皆对象。类会解释一个特定的对象是怎么工作的。
2116
比如,你创建了几个Blurb<sup>TM</sup>对象并且在Blurb<sup>TM</sup>类中对其进行了解释。
2217
换句话说:你把他们叫做Blurb对象。

translations/zh/try_ruby_540.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ load: prev;class Blurbalizer;attr_reader :title;def initialize(title);@title=t
1515
是时候使用Blurbalizer<sup>TM</sup>了。我已经预载了一些Blurb,你可以自己创建你的。
1616

1717
我们不直接创建Blurbs<sup>TM</sup>,而是通过Blurbalizer<sup>TM</sup>类中的
18-
add\_a\_blurb __方法__ 。这样我们可以确保所有的Blurbs<sup>TM</sup被储存在
18+
add\_a\_blurb __方法__ 。这样我们可以确保所有的Blurbs<sup>TM</sup>被储存在
1919
myapp 对象中。
2020

2121
myapp.add_a_blurb :moody, "Add Blurb here"

0 commit comments

Comments
 (0)