From: Patrick Spence Date: 2006-10-05T21:17:32+09:00 Subject: Extending Watir::Checkbox class 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' . . . ie.checkboxes.each {|cb| cb.test("jfkdsajf", "jfkdlas", "jfkdlasjf") } However, I'm getting the following error: #> What am I doing wrong here? -- Posted via http://www.ruby-forum.com/.