A. Iterate over the directory using the File class …
Example watir:
dir = File.dirname(__FILE__) Dir[File.expand_path("#{dir}/*.rb")].uniq.each do |file| require file end
A. Iterate over the directory using the File class …
Example watir:
dir = File.dirname(__FILE__) Dir[File.expand_path("#{dir}/*.rb")].uniq.each do |file| require file end