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, 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 > > -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Core" group. To unsubscribe from this group and stop receiving emails from it, send an email to rubyonrails-core+unsubscr...@googlegroups.com. To post to this group, send email to rubyonrails-core@googlegroups.com. Visit this group at http://groups.google.com/group/rubyonrails-core. For more options, visit https://groups.google.com/d/optout.