summaryrefslogtreecommitdiffhomepage
path: root/ru-ru/ruby-ru.html.markdown
diff options
context:
space:
mode:
authorZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-06 18:19:20 -0400
committerZachary Ferguson <zfergus2@users.noreply.github.com>2015-10-06 18:19:20 -0400
commitc4f93c0b0ec1fcea11e336b67929b9d6f426765c (patch)
treea97e9f7a56330e45122bb81bb5194f2aefe03fdb /ru-ru/ruby-ru.html.markdown
parent29cbff176857653422555650c983afef4a28ae1f (diff)
parent55c80f255202b03c4c3a66ac1d37f880a3782b68 (diff)
Merge remote-tracking branch 'adambard/master'
Conflicts: java.html.markdown
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'