ERuby.import using vars

P

Peter Woodsky

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

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

Thanks
 
H

Hoesel, Daniël van

PiBJJ20gdHJ5aW5nIHRvIHVzZSBFUnVieS5pbXBvcnQgd2l0aCBhIHZhciBpbiB0aGUgcGF0aC4g
SXMgdGhpcyBwb3NzaWJsZT8NCg0KSWYgeW91IHVzZSAiIiBpbnN0ZWFkIG9mICcnIGl0IHNob3Vs
ZCB3b3JrLg0KDQo8JSBFUnVieS5pbXBvcnQoIi4uLyN7cGF0aH0vbWVudSIpICU+DQoNCkRhbmll
bA0KDQo=
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
474,197
Messages
2,571,041
Members
47,643
Latest member
ashutoshjha_1101

Latest Threads

Top