Hi
I’m trying to use ERuby.import with a var in the path. Is this possible?
<% ERuby.import(’…/#{path}/menu’) %>
Thanks
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.
This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.
Sponsor our Newsletter | Privacy Policy | Terms of Service | Remote Ruby Jobs