diff options
author | Chashmeet Singh <chashmeetsingh@gmail.com> | 2015-10-05 15:31:46 +0530 |
---|---|---|
committer | Chashmeet Singh <chashmeetsingh@gmail.com> | 2015-10-05 15:31:46 +0530 |
commit | 142d33340aec0e3d85154a4feeb958f722693023 (patch) | |
tree | e6a3f377ba4ed7735bbcf3c2908082b811168e9e /ru-ru | |
parent | ad4d6f3c1e9dfba3933651116535d590a17092df (diff) |
Update ruby-ru.html.markdown
Diffstat (limited to 'ru-ru')
-rw-r--r-- | ru-ru/ruby-ru.html.markdown | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ru-ru/ruby-ru.html.markdown b/ru-ru/ruby-ru.html.markdown index 318e0e09..69b5fb46 100644 --- a/ru-ru/ruby-ru.html.markdown +++ b/ru-ru/ruby-ru.html.markdown @@ -158,6 +158,7 @@ array << 6 #=> [1, 2, 3, 4, 5, 6] hash = {'color' => 'green', 'number' => 5} hash.keys #=> ['color', 'number'] +hash.values #=> ['green', 5] # Значение в хэше легко может быть найдено по ключу: hash['color'] #=> 'green' |