On Jun 20, 2012 10:06 AM, "Antidot SAS" <antidot...@gmail.com> wrote:
> HI everyone,
> I am trying to use the ruby modulo function but without any success, here
is the template:
> notice(inline_template("<% tt.to_i.modulo(60) %>"))
try `"<%= tt.to_i.modulo(60).to_s %>"`, well `to_s` is just for being
explicit really and you can omit it, but what's important is the `<%=`
instead of `%<`. See a Ruby template tutorial for more details :)
"Puppet Users" group.
> To post to this group, send email to email@example.com.
> To unsubscribe from this group, send email to
> For more options, visit this group at