ERuby.import using vars

Hi
I’m trying to use ERuby.import with a var in the path. Is this possible?

<% ERuby.import(’…/#{path}/menu’) %>

Thanks

I’m trying to use ERuby.import with a var in the path. Is this possible?

If you use “” instead of ‘’ it should work.

<% ERuby.import("…/#{path}/menu") %>

Daniel

Hoesel, Daniël van wrote:

I’m trying to use ERuby.import with a var in the path. Is this possible?

If you use “” instead of ‘’ it should work.

<% ERuby.import("…/#{path}/menu") %>

Daniel

Hi Daniel
Many thanks.