method
[]
Register or
log in
to add new notes.
Manfred -
December 27, 2012 - (>= v2.3.8)
0 thanks
Example
NOTE: you pass all the keys and values in one long list:
fruit = ActiveSupport::OrderedHash[ 'apple', 'Apple', 'banana', 'Banana', 'kiwi', 'Kiwi fruit', ] fruit.keys => ["apple", "banana", "kiwi"]


