新浦京娱乐场官网The hash definition is enclosed in cu

2019-06-16 02:08栏目:技术创新

Each value is associated (=>) with a key. 
One of the ways you can access the values in a hash is by their keys. 

pacific = { 'WA' => 'Washington', 'OR' => 'Oregon', 'CA' => 'California' }

pacific['OR'] # => 'Oregon'

版权声明:本文由新浦京娱乐站_新浦京娱乐场官网_新浦京娱乐发布于技术创新,转载请注明出处:新浦京娱乐场官网The hash definition is enclosed in cu