On Aug 13, 2014, at 11:18 AM, Peter Inglesby peter.ingle...@gmail.com wrote:
Why does core_ext/hash/slice define Hash#slice, Hash#slice!, and
Hash#extract!, but not extract? Would a patch be welcomed?
A non-destructive version of `extract!` would do exactly the same thing as
`slice`:
I realised that was a stupid question as soon as I hit send. Thanks for
taking the time to reply.
On 13 August 2014 18:28, Matt Jones al2o...@gmail.com wrote:
On Aug 13, 2014, at 11:18 AM, Peter Inglesby peter.ingle...@gmail.com
wrote:
Why does core_ext/hash/slice define Hash#slice,