Forum: Italian Ruby user group No include for Prawn

Posted by Iwan B. (1w4n)
on 2012-07-20 15:37
Ciao,
voglio includere dei metodi (definiti all'interno di un modulo) ad un
file 'show.pdf.prawn' mediante il classico metodo include ma lo stesso
non
esiste...

Qual'รจ il modo piu' "pulito" per farlo?

Grassie,
ciao

iwan
Posted by Iwan B. (1w4n)
on 2012-07-20 16:23
Come non detto:
ActionView::Base.send :include, FooBar

So' stanco...
Buon weekend

i
Please log in before posting. Registration is free and takes only a minute.
Existing account (Switch to SSL-encrypted connection)
NEW: Do you have a Google/GoogleMail or Yahoo account? No registration required!
Log in with Google account | Log in with Yahoo account
No account? Register here.