Support `#to_h` duck typing of non primitive objects
Opened this issue · 0 comments
swarley commented
An object that doesn't fit the type matcher should call #to_h
if available to attempt to coerce it into a data structure that we can handle.
Opened this issue · 0 comments
An object that doesn't fit the type matcher should call #to_h
if available to attempt to coerce it into a data structure that we can handle.