fixy
fixy copied to clipboard
Library for generating fixed width documents
Subclasses that do not create extra fields cannot generate without an error due to not being able to access its superclass' record fields and line ending.
Hi, given the use of bytesize, accents confuse the algorithm. Below an implementation that does not break positioting: ```ruby module Alphanumeric def format_alphanumeric(input, byte_width) input = input.to_s String.new(input).ljust(byte_width, " ")...
Thanks for building Fixy! This PR attempts to improve some issues we encountered with formatters. Specifically: - Due to our inheritance pattern and formatter re-use, it was difficult to track...
I tried using the new cr/lf line ending as documented: set_line_ending Fixy::Record::LINE_ENDING_CRLF And.... no change to the line endings. Looking into the code a bit, the line ending seems to...
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...
Hello, nice work here -- but your web page mentions numeric formatter, and that is not included in the git source... just wondering if it an oversight, or should I...