stuarteaston
Joined 1/15/2018
stuarteaston said about 5 years ago on SOLID - Open/Closed Principle :
Not tried this myself but I think you need to remove the quotes DocxDocumentParser so you don't pass in a string. You should pass in a class so that the initialize method on Document can call #new on it.