Nifty.
-Chris
On 7/20/05, Atilla Ozgur <[EMAIL PROTECTED]> wrote:
> currentFolder = 'D:\\Projects\\Trial\\WatirTests'
> Dir.chdir(currentFolder)
> paths = Dir.entries(currentFolder)
> paths.each{|f|
> # I do not want to execute my subversion folder files and my
> common functions
> if (f =~ /.rb/ && f != 'CommonFunctions.rb')
> # for debugging purposes not necessary
> puts f
> require f
> end
> }
>
_______________________________________________
Wtr-general mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/wtr-general