Grant Rodgers
Not a member
Grant Rodgers's latest activity
Thursday, March 26 2009
2342
OrderedHash#shift should return nil when empty
was updated
in Ruby on Rails
-
Grant Rodgers commented at 6:37 PMAgreed, I stuffed it into the existing test because it looked like the convention was one test per method. Updated patch attached.
-
- Title changed from [PATCH]OrderedHash#shift should return nil when empty to OrderedHash#shift should return nil when empty
-
Grant Rodgers created the ticket at 2:58 AMPrior to 2.3, OrderedHash#shift returned nil when empty. In 2.3 it returns [nil, nil]. Hash#shift returns nil in 1.8 and 1.9, so OrderedHash#shift should also.
...