Well, for example there's
0 == '' -> true
So maybe not a bad idea at all, but i guess a new method is nicer for
this.
Best,
Thomas
Am 19.01.2007 um 18:51 schrieb Christophe Porteneuve:
Hey there,
Kjell Bublitz a écrit :
Nah.. both won.. include() is not strict.. with your example i could
That's right, and AFAIK, in_array isn't either (at least by default).
However, aside from issues with arrays containing such stuff as
null, false and undefined, it's not much of an issue, is it?
--
Christophe Porteneuve aka TDD
[EMAIL PROTECTED]
>
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby on
Rails: Spinoffs" 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/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---