I understand the subtle differences between require , load and autoload in Ruby, but my question is, how do you know which one to use?
Besides being able to wrap load in an anonymous module, require seems preferable.
But then autoload allows you lazy boot files - it sounds fantastic, but I'm not sure if you type more require
Is one method preferable to another? Is there a situation where one method stands out?
ruby module
Mark W Apr 29 '09 at 21:12 2009-04-29 21:12
source share