On Thu, Sep 30, 2010 at 5:03 PM, ISmellGas <[email protected]> wrote: > How could I turn this into > a method so that I do not have to type it out every time?
You should read this :) http://ruby-doc.org/docs/ProgrammingRuby/ > I have used methods a little but I am not sure how I could pass the > arguments? def my_method(argument1, argument2) # do something with the arguments end Let me know if you have more questions. Željko -- Before posting, please read http://watir.com/support. In short: search before you ask, be nice. [email protected] http://groups.google.com/group/watir-general [email protected]
