Paul Johnston
2/3/2006 9:13:00 AM
Hi
I'm creating some embedded ruby web pages under Linux and Apache 2.0
and after showing what it can do I like to display the source code.
I was wondering if there is an easier way to do this than what I am
doing at present. An example is where I wish to show the line
containing
%>
Obviously just trying having a rhtml file with % at the start of a
line means it is interpreted as ruby code so at present I am using
% print "%"
>
This works but is a pain. Is there a way to specify to a block of
code, don't interpret this code but simple display it in the page it
came from ?
TIA
Paul