[Wtr-general] how to include external script (.rb) in Watir?
Alien Ruby
forum-watir-users at openqa.org
Fri May 4 17:33:39 EDT 2007
Hi...
Do you know if there is any document for me to read about function declaration, function returning values (integer, strings), and etc.
let's say I want to multiply something by 10,
x = Multiply(3)
puts x # this line should give me 30.
How do I use something like,
def integer Multiply(y)
{ temp = 10 * y
return temp
}
or
do a public class ?
Again, I appreciate your time.
More information about the Wtr-general
mailing list