Is there any code in this ERB snippet that causes text after the EOF
to be included in the template.
Unless my understanding of ERB is inadequate there has to be some bug in
It has me at my wit’s end.
template = ERB.new <<-EOF
# rsync push mode #rsync_push_command check # <%= rsync_push_command %> # rsync_forced_command # <%= rsync_forced_command %> #
some program code here
After execution the text “some program code here” appears in the
Are there some circumstances under which ERB goes haywire?
Is there an alternate syntax to the ERB.NEW <<-EOF … EOF syntax for
when the text is on multiple lines.