summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorven <vendethiel@hotmail.fr>2015-10-05 13:41:20 +0200
committerven <vendethiel@hotmail.fr>2015-10-05 13:41:20 +0200
commite57fb68756ec6f4242ad04c359f7796606b52a42 (patch)
treee6a3f377ba4ed7735bbcf3c2908082b811168e9e
parentad4d6f3c1e9dfba3933651116535d590a17092df (diff)
parent142d33340aec0e3d85154a4feeb958f722693023 (diff)
Merge pull request #1349 from chashmeetsingh/patch-1
Update ruby-ru.html.markdown
-rw-r--r--ru-ru/ruby-ru.html.markdown1
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'