Free

Ruby one-liners cookbook

What's this about?

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.

Author

Sundeep Agarwal

I'm Sundeep Agarwal, author of 12 programming books 📚 and counting 🚀.
I write about Regular Expressions, CLI one-liners, Scripting Languages and Vim. I also maintain several curated resource lists.