Merge pull request #1349 from chashmeetsingh/patch-1

Update ruby-ru.html.markdown
This commit is contained in:
ven 2015-10-05 13:41:20 +02:00
commit e57fb68756

View File

@ -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'