On Sep 7, 2006, at 8:35 PM, Edward wrote:

> What is the equivalent of
> include("library.php");
> in ruby?

Well, I don't know php but 'require' is the equivalent of #include in  
C/C++ except that it automatically adds the guards against multiple  
inclusion. You can also leave off the .rb

Just use it  like;
require libfile


HTH
--
For blocks are better cleft with wedges,
Than tools of sharp or subtle edges,
And dullest nonsense has been found
By some to be the most profound.
-Samuel Butler,