Skip to content

Allows non-array values for accept: #74

@amomchilov

Description

@amomchilov

It looks like previously, any kind of Enumerable was allowed as an argument to accepts:, but it has since been constrained so that any non-Proc values are transformed into an Array:

66fba25

Is there a reason why Array is enforced, in particular?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions