Merge pull request #2549 from vra/master

[ruby/zh-cn]fix a typo
This commit is contained in:
Geoff Liu 2016-10-31 10:53:04 -04:00 committed by GitHub
commit 092b7a69b1

View File

@ -214,7 +214,7 @@ hash.keys #=> ['color', 'number']
hash['color'] #=> 'green'
hash['number'] #=> 5
# 查询一个不存在键将会返回nil
# 查询一个不存在键将会返回nil
hash['nothing here'] #=> nil
# 从Ruby 1.9开始,用符号作为键的时候有特别的记号表示: