Ruby one-liners cookboock Example based guide for text processing with Ruby from the command line

Sundeep Agarwal

Get book on

learnbyexample

This book will help you learn about various command line options and features that make it possible to write compact Ruby one-liners.

About book

The book heavily leans on examples and exercises to help you get comfortable with using Ruby from the command line. It is recommended that you manually type each example and experiment with them.

Prerequisites: You should be comfortable with programming basics and have prior experience working with Ruby. You should know concepts like blocks, be familiar with string/array/hash/enumerable methods, regular expressions etc. You should also have prior experience working with command line and bash shell and be familiar with concepts like file redirection, command pipeline and so on.