From: evan_leonard@... (Evan Leonard) Date: 2002-03-19T01:04:22+09:00 Subject: Re: including files in eruby grr grr grr. "make sure you have the newest versions *before* posting to the newsgroups." *slap on the wrist* it's working now. evan evan_leonard@hotmail.com (Evan Leonard) wrote in message news:<7e457071.0203011735.60b832a2@posting.google.com>... > 520079130762-0001@t-online.de (Michael Neumann) wrote in message news:<20020220123316.GA1224@michael.neumann.all>... > > Martin Maciaszek wrote: > > > I'm using eruby on some of my web pages. Now they became big and > > > unwieldy. I would like to extract some parts into extra files and > > > include those files in several pages. How can I achieve this? > > > > You can do this with: > > > > <% ERuby.import "filename.rhtml" %> > > I've been running into a similar problem and tried to use > ERuby.import, however when I use that code snippet: > > > <% ERuby.import "filename.rhtml" %> > > I get a method not found error. > Any ideas? > I have eruby running well and use .rhtml files all the time. I've > just never tried to call a method direction from the ERuby module. I > know its there however ERuby.type returns "Module" > > i'm stuck. > > thanks > > Evan