1
0
mirror of https://github.com/adambard/learnxinyminutes-docs.git synced 2025-08-12 01:34:19 +02:00

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

View File

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