Have a personal or library account? Click to login
Comprehensive Ruby Programming Cover

Comprehensive Ruby Programming

From beginner to confident programmer

Paid access
|Sep 2025
Product purchase options

This book will provide you with all of the tools you need to be a professional Ruby developer. Starting with the core principles, such as syntax and best practices, and up to advanced topics like metaprogramming and big data analysis.

Key Features

  • Provides the core skills required to become a Ruby programmer
  • Covers how to use the most popular Ruby Gem libraries
  • Includes details on regular expressions

Book Description

Ruby is a powerful, general-purpose programming language that can be applied to any task. Whether you are an experienced developer who wants to learn a new language or you are new to programming, this book is your comprehensive Ruby coding guide. Starting with the foundational principles, such as syntax, and scaling up to advanced topics such as big data analysis, this book will give you all of the tools you need to be a professional Ruby developer. A few of the key topics are: object-oriented programming, built-in Ruby methods, core programming skills, and an introduction to the Ruby on Rails and Sinatra web frameworks. You will also build 10 practical Ruby programs.

Created by an experienced Ruby developer, this book has been written to ensure it focuses on the skills you will need to be a professional Ruby developer. After you have read this book, you will be ready to start building real-world Ruby projects.

What you will learn

  • Learn how to use Ruby code effectively, picking the right tool for the job and not duplicating built-in functionality
  • Gain best software development practices, and how to identify and fix common errors
  • Absorb core programming skills, such as variables, strings, loops, conditionals, and much more
  • Explore object-oriented programming and learn to create modular, reusable code that you can use across projects
  • Build 10 practical Ruby programs as you work through the book on topics such as big data analysis and solving Euler equations

Who this book is for

This is a complete course written from the ground up for beginners wanting to gain a solid understanding of the Ruby language. It starts at the beginning with how to install Ruby and work with it on multiple machines, so simply have a computer that's connected to the Internet and you'll be ready.

Table of Contents

  1. Introduction to the Ruby Programming Language
  2. Ruby variables
  3. Ruby Strings
  4. Working with Numbers in Ruby
  5. Ruby Methods
  6. Ruby Iterators and Loops
  7. Ruby Collections
  8. Ruby Conditionals
  9. Object-oriented Programming in Ruby
  10. Working with the File System in Ruby
  11. Error handling in Ruby
  12. Regular Expressions in Ruby
  13. Searching with grep in Ruby
  14. Ruby Gems
  15. Ruby Metaprogramming
  16. Ruby Web Frameworks
  17. Working with APIs in Ruby
  18. Ruby Algorithms
  19. Machine Learning
https://github.com/packtpublishing/comprehensive-ruby-programming
PDF ISBN: 978-1-78728-799-0
Publisher: Packt Publishing Limited
Copyright owner: © 2017 Packt Publishing Limited
Publication date: 2025
Language: English
Pages: 330