Skip to content

Add each as an alias for each_pair for Concurrent::Map #581

@donv

Description

@donv

Hi!

Concurrent::Map is described as a mostly compatible replacement for Concurrent::Hash, but it is missing the each method. On a Hash, this method has a lot of use, and it would ease migration from (Concurrent::)Hash to Concurrent::Map if the each method was an alias for each_pair as it is for a regular Ruby Hash.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementAdding features, adding tests, improving documentation.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions