summaryrefslogtreecommitdiffhomepage
path: root/zh-cn/ruby-cn.html.markdown
diff options
context:
space:
mode:
authorwikibook <dylee@wikibook.kr>2013-08-20 10:46:10 +0900
committerwikibook <dylee@wikibook.kr>2013-08-20 10:46:10 +0900
commit276d73bdd3b1e43c471a86191dcda87c7e3c5241 (patch)
treee13b9640f2a54cb4378eef1c6ef70c08ae8b2175 /zh-cn/ruby-cn.html.markdown
parent4e7f0ce330914cded8be937b8e5f1700350623d2 (diff)
parentf33dea8b83bf64ecde36337a5e02cae77f5210de (diff)
fix typo in Java tutorial
Diffstat (limited to 'zh-cn/ruby-cn.html.markdown')
-rw-r--r--zh-cn/ruby-cn.html.markdown5
1 files changed, 3 insertions, 2 deletions
diff --git a/zh-cn/ruby-cn.html.markdown b/zh-cn/ruby-cn.html.markdown
index 6530b520..619e6e92 100644
--- a/zh-cn/ruby-cn.html.markdown
+++ b/zh-cn/ruby-cn.html.markdown
@@ -94,7 +94,7 @@ x = y = 10 #=> 10
x #=> 10
y #=> 10
-# 按照惯例,用snake_case 作为变量名
+# 按照惯例,用 snake_case 作为变量名
snake_case = true
# 使用具有描述性的运算符
@@ -102,7 +102,8 @@ path_to_project_root = '/good/name/'
path = '/bad/name/'
# 符号(Symbols,也是对象)
-# 符号是不可变的,内部用整数类型表示的可重用的值。通常用它代替字符串来有效地表达有意义的值
+# 符号是不可变的,内部用整数类型表示的可重用的值。
+# 通常用它代替字符串来有效地表示有意义的值。
:pending.class #=> Symbol