Please sign in to comment.
Fix OrderedHash.select to return self instance.
On ruby 2.1.1 the behavior of .select and .reject has changed. They will return a Hash new instance, so we need to override them to keep the instance object class.
- Loading branch information...
Showing with 8 additions and 1 deletion.