At 02:52 AM 12/11/2005, Miroslav Rajcic wrote:
>def click( shouldBlock = true )
> #code
>end
-1, as this increases obscurity.
Who could guess what this click method is actually doing?
ie.button(:name, "foo").click(true)
A guiding principle of the Watir API is that the code should do pretty much
what you'd expect it to do simply from reading it.
Bret
_____________________
Bret Pettichord
www.pettichord.com
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general