From: James Edward Gray II Date: 2005-01-28T23:29:54+09:00 Subject: Re: Ten Things Every Java Programmer Should Know About Ruby On Jan 28, 2005, at 12:09 AM, Zach Dennis wrote: > def require( str ) > if File.directory?( str ) > Dir["#{str}/**/*.rb"].each do |file| > require file[0..-4] > end > else > super > end > end This seems to make a nice entry for the list of things to tell Java programmers: * If a Ruby core method isn't behaving quite like you need it to, just edit it to fit your task. James Edward Gray II