Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Custom line endings aren't working yet #17

Open
stenzer opened this issue May 5, 2015 · 1 comment
Open

Custom line endings aren't working yet #17

stenzer opened this issue May 5, 2015 · 1 comment

Comments

@stenzer
Copy link

stenzer commented May 5, 2015

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 be held in an instance variable and accessed from a class method, which could explain the problem... and I'm not sure what the intention was, so I'm reporting it rather than trying to fix it. Thanks!

@samkim
Copy link
Contributor

samkim commented May 19, 2015

@stenzer Can you provide more context for the Record definitions you're using the line endings? Things seem to be working as expected in my uses.

Also if you generate a file (using Document#generate_to_file for example) and run file your_file.txt what're the line endings that are detected?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants