summaryrefslogtreecommitdiffhomepage
path: root/zh-cn
diff options
context:
space:
mode:
authorYunfeng Wang <vra@users.noreply.github.com>2016-10-31 19:55:48 +0800
committerGitHub <noreply@github.com>2016-10-31 19:55:48 +0800
commitda31b7080cc15c50802cc70d8452ade219c9be20 (patch)
tree4063c8ab8538468cba3343899e660d76781a8569 /zh-cn
parent43ce42005ec386097019bc44d66c6a989a429848 (diff)
fix typo
`查询一个不存在地键将会返回nil` ->`查询一个不存在的键将会返回nil`
Diffstat (limited to 'zh-cn')
-rw-r--r--zh-cn/ruby-cn.html.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/zh-cn/ruby-cn.html.markdown b/zh-cn/ruby-cn.html.markdown
index 2d181de0..657a913d 100644
--- a/zh-cn/ruby-cn.html.markdown
+++ b/zh-cn/ruby-cn.html.markdown
@@ -214,7 +214,7 @@ hash.keys #=> ['color', 'number']
hash['color'] #=> 'green'
hash['number'] #=> 5
-# 查询一个不存在地键将会返回nil
+# 查询一个不存在的键将会返回nil
hash['nothing here'] #=> nil
# 从Ruby 1.9开始,用符号作为键的时候有特别的记号表示: