Re: Ending a ruby section with -%>

Shugo Maeda <[email protected]> Thu, 15 Sep 2005 00:19:50 +0900
Newsgroups gmane.comp.apache.mod-ruby
Message-ID <[email protected]>
Hi,

Lothar Scholz wrote:
> The rails framework is using an extension of eruby that sections
> that embedded ruby code and end with "-%>" suppress the following new
> line.

I think it's ERB (another implementation of eRuby), not eruby.
ERB (erb.rb) is bundled to ruby itself.

> Is it possible to get eruby in sync with the rails eruby parser ?
> I really don't think it is a good idea to have two different
> implementations for this.

I don't want to implement it myself, but patches are welcome:)

Shugo