On Mon, May 2, 2011 at 1:38 PM, Sergio Ruiz <[email protected]> wrote:
> i have tried something like > > string = <<END > > <ul class="list> > <li>one</li> > <li class='two'>two</li> > </ul> > > END > > but am having no luck.. >> string = <<END <ul class="list> <li>one</li> <li class='two'>two</li> </ul> END => "\n<ul class="list>\n<li>one</li>\n<li class='two'>two</li>\n</ul>\n\n" >> puts string <ul class="list> <li>one</li> <li class='two'>two</li> </ul> => nil >> What kind of "luck" were you expecting? -- Hassan Schroeder ------------------------ [email protected] twitter: @hassan -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

