mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2024-12-18 04:42:32 +03:00
Merge pull request #475 from lidashuang/patch-2
Update ruby-cn.html.markdown
This commit is contained in:
commit
eb57840d2b
@ -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 等等
|
||||||
|
|
||||||
# 控制流
|
# 控制流
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user