This project is archived and is in readonly mode.

#1410 ✓resolved
Christoffer Sawicki

Add each_key and each_value to ActiveSupport::OrderedHash

Reported by Christoffer Sawicki | November 18th, 2008 @ 10:10 PM | in 2.x

ActiveSupport::OrderedHash currently doesn't have any methods named each_key or each_value. This is a problem since those methods are a part of the Hash interface. The attached patch has an implementation of the two methods together with tests.

Comments and changes to this ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile »

<h2 style="font-size: 14px">Tickets have moved to Github</h2>

The new ticket tracker is available at <a href="https://github.com/rails/rails/issues">https://github.com/rails/rails/issues</a>

Attachments

Tags

Referenced by

Pages