smart_properties
smart_properties copied to clipboard
Allows non-array values for `accept:`
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:
https://github.com/t6d/smart_properties/commit/66fba250634fba3605cb9134f2e2f5a5c6d97210
Is there a reason why Array is enforced, in particular?