solnic / coercible

Powerful, flexible and configurable coercion library. And nothing more.
MIT License
137 stars 16 forks source link

Building collection from a single hash value #18

Closed buszu closed 6 years ago

buszu commented 9 years ago

I needed a patch for building collection from single hash with Virtus, so I've written one. https://github.com/Inittec/coercible-hash_to_array

Please consider it as a default/optional behaviour of your gem. I'd be also grateful for warn If my solution is bad or may cause problems.