O'Reilly logo

Ruby by Example by Kevin C. Baird

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Chapter Recap

What was new in this chapter?

  • Recursive factorials and Fibonaccis as good profiling candidates

  • Refactoring

  • Memoization

  • Testing with Benchmark

  • Profiling

  • Converting temperatures

  • Hashes with Proc values as Proc Factories

  • Composition of Procs

  • Testing with Test::Unit

Again, that’s a lot to take in. This list is deceptively short, because some of these concepts require more contemplation than those we’ve considered in previous chapters. Let’s move on to the next chapter, in which we’ll write some tools for processing HTML and XML.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required