Open amomchilov opened 3 years ago
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:
Enumerable
accepts:
Proc
Array
https://github.com/t6d/smart_properties/commit/66fba250634fba3605cb9134f2e2f5a5c6d97210
Is there a reason why Array is enforced, in particular?
It looks like previously, any kind of
Enumerable
was allowed as an argument toaccepts:
, but it has since been constrained so that any non-Proc
values are transformed into anArray
:https://github.com/t6d/smart_properties/commit/66fba250634fba3605cb9134f2e2f5a5c6d97210
Is there a reason why
Array
is enforced, in particular?