i have to do that? that is obviously way harder to code…
and if it was in between a loop or something just say for debugging…
i got to close the loop and then bracket it… then come back again?
man
there must be an easier way???
i have to do that? that is obviously way harder to code…
and if it was in between a loop or something just say for debugging…
i got to close the loop and then bracket it… then come back again?
man
there must be an easier way???
ERB doesn’t allow you to use ‘print’ or ‘puts’ in eRuby script.
You can use print statement if you use Erubis instead of ERB.
Erubis is an implementation of eRuby which has some advantages over
ERB. http://rubyforge.org/projects/erubis/
For example, the following code is available with Eruby::PrintEruby
or Eruby::StdoutEruby class.