P
Patrick Spence
I have a script which contains class extensions. The Checkbox.test() is
obviously just a stub right now, but I'm trying to get my head around
the concept.
#-- contained in classExtensions.rb
module Watir
class Checkbox < Watir::RadioCheckCommon
def test(property, expectedResult)
puts("Checkbox.test()")
end
end
end
In another script, I have the following...
require 'watir'
require 'sqlClient'
require 'classExtensions'
obviously just a stub right now, but I'm trying to get my head around
the concept.
#-- contained in classExtensions.rb
module Watir
class Checkbox < Watir::RadioCheckCommon
def test(property, expectedResult)
puts("Checkbox.test()")
end
end
end
In another script, I have the following...
require 'watir'
require 'sqlClient'
require 'classExtensions'