Karl von Laudermann
5/1/2006 1:27:00 PM
bo wrote:
> if I move away the space character preceding CGI:: and format, the
> result would be:
>
> while i < items.size do
> 9.times do |x|
>
> ret<<CGI::unescapeHTML(item)
>
> if item == 'something'
> break
> end
> end
> end
If you remove the space preceding "CGI", the formatter is probably
interpreting "<<CGI" as the start of a "here document". Therefore the
following lines are being treated as literal text, not code. So you
should probably leave the spaces in.