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

:after => EOF #239

Open
acesuares opened this issue Jul 16, 2012 · 0 comments
Open

:after => EOF #239

acesuares opened this issue Jul 16, 2012 · 0 comments

Comments

@acesuares
Copy link

Sorry but I am confused about the :before and :after behaviour and syntax. When I leave them out, I get an error, so I guess they are required. But what if I want to add something to the end of a file? Because maybe I don't know what's in the file so I can't specify a proper :after value?

Could it be that the default behaviour for a missing :after and :before would be the same behaviour as append_to_file?
And could it be so that :after => EOF and :before =>BOF just alias append and prepend?

Just a suggestion. Or did I miss something that is already possible?

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

1 participant