Merge pull request #475 from lidashuang/patch-2

Update ruby-cn.html.markdown
This commit is contained in:
Adam Bard 2014-01-04 16:54:50 -08:00
commit eb57840d2b

View File

@ -6,6 +6,7 @@ contributors:
- ["David Underwood", "http://theflyingdeveloper.com"] - ["David Underwood", "http://theflyingdeveloper.com"]
- ["Joel Walden", "http://joelwalden.net"] - ["Joel Walden", "http://joelwalden.net"]
- ["Luke Holder", "http://twitter.com/lukeholder"] - ["Luke Holder", "http://twitter.com/lukeholder"]
- ["lidashuang", "https://github.com/lidashuang"]
translators: translators:
- ["Lin Xiangyu", "https://github.com/oa414"] - ["Lin Xiangyu", "https://github.com/oa414"]
--- ---
@ -173,7 +174,7 @@ new_hash = { defcon: 3, action: true}
new_hash.keys #=> [:defcon, :action] new_hash.keys #=> [:defcon, :action]
# 小贴士:数组和哈希表都是可枚举的 # 小贴士:数组和哈希表都是可枚举的
# 它们可以共享一些有用的方法比如each, map, count, 和more # 它们可以共享一些有用的方法比如each, map, count 等等
# 控制流 # 控制流