We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Hello!
If initialize writer this way (as specified here https://github.com/mbleigh/seed-fu/blob/master/lib/seed-fu/writer.rb#L7)
SeedFu::Writer.write('path/to/file.rb', :class_name => 'Person') do |writer|
result file is empty and has only single footer line
# End auto-generated file.
But if use io as first argument
SeedFu::Writer.write(File.open('path/to/file.rb', 'w'), :class_name => 'Person') do |writer|
it work fine as expected
The text was updated successfully, but these errors were encountered:
I just inadvertently reproduced this
Sorry, something went wrong.
No branches or pull requests
Hello!
If initialize writer this way (as specified here https://github.com/mbleigh/seed-fu/blob/master/lib/seed-fu/writer.rb#L7)
result file is empty and has only single footer line
# End auto-generated file.
But if use io as first argument
it work fine as expected
The text was updated successfully, but these errors were encountered: