On Sat, Nov 7, 2009 at 6:53 PM, Ethan <[email protected]> wrote:

> Well, it seems like this is all the feedback there is likely to be, and the
> majority wants things the way they are. My current git fork is changed to
> reflect this. Mostly.
> I left the bang-method in - this is useful to me to replace the rather
> frequent case I run into where I do
>
> div=ie.div(:text, some_text)
> unless div.exists?
>   raise "the specified div doesn't exist"
> end
>

another way to do this is so:

div=ie.div(:text, some_text)
div.assert_exists
_______________________________________________
Wtr-development mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-development

Reply via email to