v3.2.8 - Show latest stable - 1 note - Class: ActiveSupport::OrderedHash
[](*args) public

No documentation

This method has no description. You can help the Ruby on Rails community by adding new notes.

Show source
Register or log in to add new notes.
December 27, 2012 - (>= v2.3.8)
0 thanks


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"]