DEV Community

loading...

Discussion on: Flexible Ruby Value Object Initialisation

databasesponge profile image
MetaDave 🇪🇺 Author

I don't see it as anything other than enabling 100% duck typing in the application. I'm ensuring that the application depends only on the ability to respond, not on the underlying object type.