ERuby.import using vars


#1

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

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

Thanks


#2

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


#3

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.