From: mully Date: 2007-03-15T21:30:12+09:00 Subject: Re: Use as Lib On Mar 15, 7:37 am, Purandhar sairam Mannidi wrote: > How can I use a specific directory as the lib along with ruby library > files???? > can Any one reply me with class name or module name? > > -- > Posted viahttp://www.ruby-forum.com/. To automatically require all files in a directory? Some variation of the following might do the trick... Dir.glob('./directory/*').each do |lib| require lib end Hope that helps. Mully