Two equal signs (==) should suffice.
Duane Johnson
(canadaduane)
On Apr 8, 2005 8:49 PM, Pedro Valentini
<pedro-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org>
wrote:> How compare strings?
> if @str === ''string''
> end
> is ok ??
>
> --
>
> Pedro C. Valentini
> pedro-p14LI7ZcAE/pVLaUnt/cCQC/G2K4zDHf@public.gmane.org
> +55 (21) 8708-8035
>
> _______________________________________________
> Rails mailing list
> Rails-1W37MKcQCpIf0INCOvqR/iCwEArCW2h5@public.gmane.org
> http://lists.rubyonrails.org/mailman/listinfo/rails
>