Skip to content

Deprecate Hash#subset #85

Open
Open

Description

@trans

Doesn't look like Hash#subset is of any use any more now that Ruby's Hash#select also returns a hash. And Hash#slice can be used to pick out a subset by key names.

See https://github.com/rubyworks/facets/blob/master/lib/core/facets/hash/subset.rb

Activity

  1. trans commented on Apr 12, 2014

    @trans
    MemberAuthor

    We will leave it in for the time being and revisit this issue at a later date.

  2. ioquatix commented on Oct 13, 2016

    @ioquatix
    Contributor
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions