From: Phillip Gawlowski Date: 2011-03-01T08:29:05+09:00 Subject: Re: erb example from comp.lang.ruby fails On Tue, Mar 1, 2011 at 12:20 AM, RichardOnRails wrote: >> >> I eliminated one of the blanks by appending a closing hyphen at line >> 24.  But I couldn't plug the major generated, I believe, by line 26. >> Cf. output lines 70-72, 74,76,78 in the Pastie.  If you have have any >> insight into that problem,  I'd appreciate one more insight from you. Alas, I don't. It seems to be a quirk of ERb, or at least I haven't found anything to change that behaviour, unfortunately. Also, if you want bullet points, you can try something like this: <%# ignore numerous minor requests -- focus on priorities %> <% priorities.each do |priority| > <%= " * #{priority}" %> < % end > Basically, this creates a string containing both the splat and the string from the priority Array. > > When I pasted my corrected version, Pastie gave me a new URL: > http://www.pastie.org/1617782 > I appologize for the mistake. None needed. :) -- Phillip Gawlowski Though the folk I have met, (Ah, how soon!) they forget When I've moved on to some other place, There may be one or two, When I've played and passed through, Who'll remember my song or my face.