From da31b7080cc15c50802cc70d8452ade219c9be20 Mon Sep 17 00:00:00 2001 From: Yunfeng Wang Date: Mon, 31 Oct 2016 19:55:48 +0800 Subject: fix typo MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `查询一个不存在地键将会返回nil` ->`查询一个不存在的键将会返回nil` --- zh-cn/ruby-cn.html.markdown | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zh-cn') 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开始,用符号作为键的时候有特别的记号表示: -- cgit v1.2.3