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 9. More Complex Utilities and Tricks, Part I

image with no caption

This chapter is the first of two that explore more complex operations in Ruby. This one deals extensively with text manipulations and larger-scale searches, while the next details an important functional technique that expands your options for abstraction in a very powerful way. For now, let’s dive right in to learn some text processing techniques.

#34 Finding Codes in the Bible or Moby-Dick (els_parser.rb)

This script analyzes a phenomenon in large texts called equidistant letter sequences (ELSes). These sequences are popularly known as Bible Codes or Torah Codes, largely due to their description ...

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