diff options
author | Kristin Linn <klinn@upenn.edu> | 2015-10-20 16:26:35 -0400 |
---|---|---|
committer | Kristin Linn <klinn@upenn.edu> | 2015-10-20 16:26:35 -0400 |
commit | 396e6f5d9708f827512c4699240f72477366ff76 (patch) | |
tree | d63b41a4d91ea80c594574c48fc6416d6fd9a538 /ru-ru/ruby-ru.html.markdown | |
parent | 11aab085d656b79482e92a05acbbac81125bfb78 (diff) | |
parent | 5fb5dd7c7fd7670faca6b8cfff9ef1ffdbd65c0d (diff) |
Merge branch 'master' of https://github.com/adambard/learnxinyminutes-docs
Diffstat (limited to 'ru-ru/ruby-ru.html.markdown')
-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' |