O'Reilly logo

Wicked Cool Ruby Scripts by Steve Pugh

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 6. STRING UTILITIES

STRING UTILITIES

Manipulating text with Ruby is easy; you have probably already seen Ruby's string methods like capitalize, upcase, downcase, and swapcase. In this chapter we will expand on those methods, creating an even more powerful toolset for text-processing tasks like searching, manipulating, and creating documents.

PDF Generator

PDF Generator

pdfGen.rb

PDFs provide an excellent way to present data. Some advantages of using PDF (Portable Document Format) files include platform independence, viewing consistency, and a wide selection of free reader software. PDF files have become a standard for information exchange on the Internet; I ...

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