Google helped me get stared and I did something like this:
if n1 == (n2 * 2)
# do this
elsif n1 == n2
# do that
end
which appears to be working. Is "then" optional? cheers!!
On Jun 14, 3:41 pm, Ken Barber <[email protected]> wrote:
> ruby != bash :-). You need a ruby book if you can :-).
>
> if n1 == n2 then
> # do something
> elsif n2 == n1*2 then
> # do something else
> end
>
> ken.
--
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.