summaryrefslogtreecommitdiffhomepage
path: root/ru-ru/ruby-ru.html.markdown
diff options
context:
space:
mode:
authorSean Corrales <scorrales@gmail.com>2015-10-05 09:50:44 -0500
committerSean Corrales <scorrales@gmail.com>2015-10-05 09:50:44 -0500
commitfe5157d36f4b508479edaa214e097f65e7ba26e1 (patch)
treee6a3f377ba4ed7735bbcf3c2908082b811168e9e /ru-ru/ruby-ru.html.markdown
parenta743c831a07f5e846051b156152fe8e6ddcfb097 (diff)
parente57fb68756ec6f4242ad04c359f7796606b52a42 (diff)
Merge pull request #1 from adambard/master
Merging changes from source branch
Diffstat (limited to 'ru-ru/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'