On Dec 9, 9:36 am, "Ohad Levy" <[EMAIL PROTECTED]> wrote:
> you are missing the type in the function.. For example:
>
> newfunction(:func, :type =>rvalue) do...
>
> Cheers,
> Ohad
>

Thanks. I had to preface rvalue with a : as in newfunction
(:func, :type => :rvalue)

Can anybody recommend a good english language introductory Ruby book
for programmers? I know C, java, perl and php like the back of my hand
but ruby seems alien.

Cheers,
Jeff


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Puppet Users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/puppet-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to