From: Clay Trump Date: 2012-08-13T01:07:13+09:00 Subject: [ruby-core:47137] Re: [ruby-trunk - Feature #6847] Hash#extract --e89a8f3b9f3d547ef304c713c4ac Content-Type: text/plain; charset=ISO-8859-1 > It's definitely like extract! in ActiveSupport, just non-destructive. There is no "extract!" in ActiveSupport, its "slice!" you mean. So yeah, I've used that before, and would be nice in core. I think it should be called 'slice' instead of 'extract'. It's a better name and it already exists like that in ActiveSupport and in Facets... -- --e89a8f3b9f3d547ef304c713c4ac Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
It's definite= ly like extract! in ActiveSupport, just non-destructive.
<= br> There is no "extract!" in ActiveSupport, its "slice!" y= ou mean.

So yeah, I've used that before, and would be nice in co= re. I think it should be called 'slice' instead of 'extract'= ;. It's a better name and it already exists like that in ActiveSupport = and in Facets...

--
<lay trum/>

--e89a8f3b9f3d547ef304c713c4ac--