Stefano Crocco
2/15/2008 9:56:00 PM
Alle Friday 15 February 2008, Luca Scaljery ha scritto:
> thnx, that works, but what if I want to do 2 or more actions/statements
> for each options ?
>
> @var == "v" ? P("V");do_something("V") : ......
>
> suggestions ?
In this case, I'd use a standard if:
if @var == "v"
p "V"
do_something
else
do_something_else
end
Stefano