j.
... the example would be:
assert( ie.contains_text? "blah" )
On 11/10/05, Bret Pettichord <[EMAIL PROTECTED]> wrote:
At 09:57 AM 11/10/2005, Dara Lillis wrote:
>How about, "If found, returns the index the where text was found.
>Returns nil when the text is not found."
This is accurate, but i'd like to also get accross that this is intended to
be used in if or assert statements.
I'm wondering if it might not be better to deprecate ie.contains_text and
just encourage people to use ie.text.index or ie.text.match instead.
Bret
_____________________
Bret Pettichord
www.pettichord.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general
--
"Remember. Understand. Believe. Yield! -> http://ruby-lang.org"
Jeff Wood
_______________________________________________ Wtr-general mailing list [email protected] http://rubyforge.org/mailman/listinfo/wtr-general
