The dRuby Book

3.6 Moving Ahead

In this chapter, we learned about the eRuby templating system and how to use its implementation library, ERB, with dRuby and CGI. We also experimented with three different ways of allocating Reminder and ReminderCGI into processes. I hope you found it easy to make these changes, because dRuby is designed to act just like Ruby. There are many ways to architect the layout of objects into processes, and dRuby can help you when designing your system architecture.

In the next chapter, you’ll learn two different ways to exchange objects across processes: passing by reference and passing by value. You may encounter unexpected behavior if you aren’t aware of these differences, so let’s find out more details.

Footnotes

[8]

http://en.wikipedia.org/wiki/Here_document