Daniel Brumbaugh Keeney wrote: > Basically, I was wondering if it is possible in Ruby to eval a file > without loading the whole thing in memory. I'm trying to avoid > eval(File.new(location).read), but at the same time, I don't want the > file to contain a named method that could conflict with other named > methods. Can't help with the first part (it may not be possible, AFAIK). But the second part is easy. Two approaches are: http://redshift.sourceforge.net/script/ http://codeforpeople.com/lib/ruby/dynaload/ -- vjoel : Joel VanderWerf : path berkeley edu : 510 665 3407