Getting an error while starting up the program on this code where I am
extending SelectList (file name is watir_or.rb)
require 'rubygems'
require 'watir'
require 'win32ole'
module Watir
class Picker < SelectList
# picker specific methods
end
end
The error is
./watir_or.rb:8: uninitialized constant Watir::SelectList (NameError)
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `gem_original_require'
from c:/ruby/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb:
27:in `require'
from pcfparser.rb:1
So what would I have to 'require' to make this work?
Andy
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Watir General" group.
To post to this group, send email to [email protected]
Before posting, please read the following guidelines:
http://wiki.openqa.org/display/WTR/Support
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/watir-general
-~----------~----~----~----~------~----~------~--~---