OmarSkalli / fixy

Library for generating fixed width documents
MIT License
100 stars 45 forks source link

Record parsing and generate #11

Open Joao-Anselmo opened 9 years ago

Joao-Anselmo commented 9 years ago

Recent record.rb changes no longer use the "decorator" method, instead parse and generate have

decorator = debug ? Fixy::Decorator::Debug : Fixy::Decorator::Default

Please revert to calling the decorator method to allow other decorators to be used by overriding it.

OmarSkalli commented 9 years ago

Thanks for reporting this issue, didn't realize that was a breaking change. I'll fix it and push a new version of the gem.