Re: [wtr-general] how to call Function argument into another ruby script.

2011-11-21 Thread brett sykes
Hello, I think you've posted this question to the wrong forum. This is the WATIR forum which deals with WATIR questions specifically. Have a nice day, Brett On Mon, Nov 21, 2011 at 11:45 AM, meaculpa wrote: > Consider I have a ruby file called library.rb. In which i defined a > function li

[wtr-general] how to call Function argument into another ruby script.

2011-11-21 Thread meaculpa
Consider I have a ruby file called library.rb. In which i defined a function like this : def Name(testcase, result) pdf = PDF::Writer.new testcase= $testcase pdf.text $testcase, :font_size => 72, :justification => :center result= $result pdf.text $result, :font_size => 72, :justification => :cen