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`: return a new Hash with only the given keys.
—Matt Jones
I realised that was a stupid question as soon as I hit send. Thanks for taking the time to reply.