From: Gavin Kistner Date: 2006-10-21T01:16:33+09:00 Subject: Re: about require From: Li Chen > In Ruby why do we wirte code as require 'enumerator', instead of > require 'Enumerator' with uppercase? Because you are specifying the name of the file that the Enumerator class is in, not the class itself. > What happens if 'enumerator' is not > saved in the default path that Ruby usually looks for? Then you get an error: LoadError: no such file to load -- enumerator