[
https://issues.apache.org/jira/browse/SLING-90?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12540222
]
ShawnAnderson commented on SLING-90:
------------------------------------
Sorry about the IOException swallowing, that should be changed to just: throw
ex;
I can submit another patch for that if you'd like.
As for wrapping the calls, I can do that easily, but I didn't want to have to
keep a wrapper up to date. If you suggest what things to wrap, I can easily do
so. Right now I dynamically add all the keys of props to the ruby class as
instance methods so they are accessible from the template. Adding more is very
simple.
> Add support for creating Ruby templates
> ---------------------------------------
>
> Key: SLING-90
> URL: https://issues.apache.org/jira/browse/SLING-90
> Project: Sling
> Issue Type: Improvement
> Components: microsling
> Reporter: Padraic Hannon
> Assignee: Felix Meschberger
> Attachments: ruby_passed_int_tests.patch
>
>
> By adding support for ruby scripted templates microsling could deal with
> adding dynamic mixins, which is something that java has a hard time with.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.