Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Convert hash extension modules to class reopens | Jeremy Kemper | 2009-03-21 | 1 | -37/+29 |
| | |||||
* | MaKe Hash#slice! return removed values, akin to Array [#971 state:resolved] | trans | 2008-12-26 | 1 | -1/+8 |
| | | | | Signed-off-by: Frederick Cheung <frederick.cheung@gmail.com> | ||||
* | slice now returns indifferent hash if called on one | adam | 2008-09-23 | 1 | -1/+1 |
| | | | | | | Signed-off-by: Michael Koziarski <michael@koziarski.com> [#1096 state:committed] | ||||
* | Add extra tests to ensure Hash#slice works with an array as a key. #613 | MatthewRudy | 2008-07-17 | 1 | -0/+5 |
| | | | | Signed-off-by: Pratik Naik <pratiknaik@gmail.com> | ||||
* | Revert "Hash#slice supports an array of keys [#613 state:resolved]" | Pratik Naik | 2008-07-17 | 1 | -1/+0 |
| | | | | This reverts commit 396f9df8916b71f83aad8d56559cf55fc8501679. | ||||
* | Hash#slice supports an array of keys [#613 state:resolved] | Josh Owens | 2008-07-16 | 1 | -0/+1 |
| | | | | Signed-off-by: Joshua Peek <josh@joshpeek.com> | ||||
* | No need to build a Set since we're iterating instead of checking for ↵ | Jeremy Kemper | 2008-06-07 | 1 | -4/+2 |
| | | | | inclusion now | ||||
* | Fixed the brokeness from 952ec79bec313e0001adfc8c86f7970448d32db9 | David Heinemeier Hansson | 2008-06-02 | 1 | -1/+1 |
| | |||||
* | Faster Hash#slice that doesn't use Enumerable#include?. | Cheah Chu Yeow | 2008-06-02 | 1 | -1/+3 |
| | | | | Signed-off-by: Jeremy Kemper <jeremy@bitsweat.net> | ||||
* | Revert [9209] Use Hash#except | Pratik Naik | 2008-04-02 | 1 | -16/+0 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9210 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Adding Hash#without Closes #7369 [eventualbuddha] | Pratik Naik | 2008-04-02 | 1 | -0/+16 |
| | | | | git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@9209 5ecf4fe2-1ee6-0310-87b1-e25e094e27de | ||||
* | Hash#slice(*keys) returns a new hash with only the given keys. #slice! ↵ | Jeremy Kemper | 2006-12-17 | 1 | -0/+28 |
replaces the hash with only the given keys. Works with HashWithIndifferentAccess also. git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@5726 5ecf4fe2-1ee6-0310-87b1-e25e094e27de |