bret wrote

> ObjectMap.new($ie).instance_eval do
>   login_link.click
>   logout_link.click
> end

Nice method, from what I can gather #instance_eval is pre-fixing self on
the custom methods. But why are you passing a global into the constructor?

cheers

aidy



---------------------------------------------------------------------------------------------------------------
This message and any attachment are confidential and may be privileged or 
otherwise protected from disclosure. 
If you are not the intended recipient, please telephone or email the sender and 
delete this message and any attachment from your system.  
If you are not the intended recipient you must not copy this message or 
attachment or disclose the contents to any other person.
---------------------------------------------------------------------------------------------------------------
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general

Reply via email to