Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Let Hash#slice return a Hash
In order to keep this method compatible with the Ruby 2.5 version of Hash#slice. This bahavior is actually slightly incompatibile with previous versions of Active Support but it might not cause a real problem, since HWIA, the biggest use case of Hash subclassing here, already overrides `slice` to return another HWIA.
- Loading branch information
Showing with 5 additions and 1 deletion.