How to include files in ruby webs?

What is the equivalent of
in ruby?

In an ERB template, you can do < '' )%> to pull in the contents of another file.

As the other post mentioned, load and require allow you to load in ruby code from another ruby file.


From: Edward []