Comprehensive Ruby Programming

Learn how to program in the Ruby programming language, starting from scratch and moving to advanced coding techniques.
4.5 (277 ratings)
Instead of using a simple lifetime average, Udemy calculates a
course's star rating by considering a number of different factors
such as the number of ratings, the age of ratings, and the
likelihood of fraudulent ratings.
1,522 students enrolled Bestselling in Ruby
Sale Ends Today!
62% off
Take This Course
  • Lectures 98
  • Length 10 hours
  • Skill Level All Levels
  • Languages English
  • Includes Lifetime access
    30 day money back guarantee!
    Available on iOS and Android
    Certificate of Completion
Wishlisted Wishlist

How taking a course works


Find online courses made by experts from around the world.


Take your courses with you and learn anywhere, anytime.


Learn and practice real-world skills and achieve your goals.

About This Course

Published 1/2016 English

Course Description

Course updated October 2016: uploaded new Ruby eBook that includes new content sections and ePub and mobi ebook formats. This is the same eBook that is sold for $40!

Course updated September 2016: added new guides for how to use method arguments in Ruby.

Course updated Aug 2016: added a tools section and content on how to use the IRB console for running Ruby code.

Course updated July 2016: added new meta programming guides.

Coding has become one of the most critical skills you can have for furthering your career. Whether you are an experienced developer who wants to learn a new language or you are new to programming, this course can be your comprehensive Ruby coding guide. Starting with the foundational principles such as syntax and scaling up to advanced topics like metaprogramming and big data analysis, I wanted to create a curriculum that will give you all of the tools you need to be a professional Ruby developer. A few of the key topics that you will learn in this course are:

  • Object oriented programming
  • Built in Ruby methods
  • Core programming skills
  • Custom algorithm development
  • Big data analysis
  • Metaprogramming
  • Using Ruby Gem libraries
  • Regular Expressions
  • Ruby programming best practices
  • An introduction to the Ruby on Rails and Sinatra web frameworks
  • Building 10 Ruby programs that solve complex Project Euler mathematical equations
  • And much more!

With over a decade of real world development experience, I have engineered this curriculum to ensure it focuses on the skills you will need to be a professional Ruby developer. Each section has an interactive quiz to ensure you are understanding the material and you also will be given access to the source code for each lesson. After you have completed all of the videos and quizzes you will be given a certificate of completion in Comprehensive Ruby Programming and you will be ready to start building real world Ruby projects. Finally, in addition to the video lectures and quizzes, I will also be your code mentor throughout the course and will walk you through any challenges that you may face.

What are the requirements?

  • This course 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.

What am I going to get from this course?

  • Build programs in the Ruby programming language
  • Know how to work with the Ruby syntax
  • Create custom algorithms
  • Work with loops and iterators
  • Learn object oriented programming
  • Work with OOP inheritance
  • Start building real life programs in Ruby

Who is the target audience?

  • This is a comprehensive course for learning the Ruby programming language. It's required to have a firm knowledge of Ruby prior to building web applications with frameworks such as Rails and Sinatra and this will give you the tools necessary to become a developer.

What you get with this course?

Not for you? No problem.
30 day money back guarantee.

Forever yours.
Lifetime access.

Learn on the go.
Desktop, iOS and Android.

Get rewarded.
Certificate of completion.


Section 1: Ruby Introduction
Introduction to the Ruby Programming Language

With the purchase of the course you are able to download the 200+ page eBook on Comprehensive Ruby Programming to help you go through the course and to be a reference for your coding journey.

How to Install Ruby
How to Install Different Versions of Ruby with RVM
3 questions

This quiz reviews the material covered in section one, including details about the Ruby programming language and how to install Ruby on a computer system.

Section 2: Ruby Variables
Introduction to variables in Ruby
Options for printing to the Ruby console
Using gets and chomp to get input from the Ruby console
Ruby variable types and variable scopes
4 questions

Review how to use Ruby variables and getting and printing out values from the console.

Section 3: Ruby Strings
Introduction to the String data type in Ruby
String interpolation in Ruby
String manipulation in Ruby
String substitution in Ruby
Using the split and strip methods on Strings in Ruby
5 questions

Review the String data type and how to use built in methods for the Ruby programming language.

Section 4: Working with Numbers in Ruby
Arithmetic Functions in Ruby
Order of operations in Ruby Arithmetic
Difference between integers and floats in Ruby
3 questions

Review your knowledge of how to work with numbers in Ruby.

Section 5: Methods in Ruby
Introduction to methods in Ruby
What Ruby methods return

This guide explains in detail the difference between printing values out to the console compared with returning values from a method.

Difference between class and instance methods in Ruby
Procs in Ruby
Lambdas in Ruby
Difference between Procs and Lambdas

Learn how to use the key method arguments, including: basic arguments, named arguments, and default argument values.


This guide explains how to use the splat and optional argument types with Ruby methods to give flexible interfaces to programs.

5 questions

Review your knowledge of methods in Ruby

Section 6: Ruby Iterators and Loops
While loops in Ruby
Using the Ruby each iterator
Using the 'for in' loop in Ruby
Nested iterators in Ruby
Using the select method in Ruby
How to use the map method on Ruby collections - Part 1
How to use the map method on Ruby Collections - Part 2
Using the inject method in Ruby
4 questions

Test your knowledge of loops and iterators in Ruby.

Section 7: Ruby Collections
Introduction to Ruby arrays
Deleting items from arrays
Using the Ruby join method on arrays
Using push and pop methods on Ruby arrays
Introduction to hashes in Ruby
How to delete from a Ruby hash
How to iterate over a hash in Ruby
Helpful hash methods in Ruby
5 questions

Test your knowledge of Ruby collections.

Section 8: Ruby Conditionals
Introduction to Ruby conditionals
Using the Unless conditional in Ruby
Using multiple if/else statements in Ruby
Using compound conditionals in Ruby
3 questions

Test your knowledge of Ruby conditionals.

Section 9: Object Oriented Programming
Introduction to Object Oriented Programming in Ruby
Setters and Getters in Ruby
Using the initialize method in a Ruby class
Object oriented inheritance in Ruby
Differences between Private and Public methods in Ruby
Polymorphism and using super in Ruby
3 questions

Test your knowledge of object oriented programming in Ruby.

Section 10: Working with the file system in Ruby
Creating a File in Ruby
Reading files into a Ruby program
Deleting files in Ruby
Appending to a file in Ruby
2 questions

Test your knowledge of working with the file system in Ruby.

Section 11: Error handling in Ruby
Basic error handling syntax
Better error handling in Ruby
How to build a custom error handler in Ruby
2 questions

Test your knowledge of error handling in Ruby.

Section 12: Regular Expressions in Ruby
Introduction to Regular Expressions in Ruby
Build an email validation matcher with Regular Expressions in Ruby
Build an IP address validator with Regular Expressions in Ruby
Develop a Wheel of Fortune game in Ruby
3 questions

Test your knowledge of regular expressions in Ruby

Section 13: Searching with grep
Introduction to Grep in Ruby
Using grep instead of the select and map methods for searching
2 questions

Test your knowledge of the grep method

Section 14: Ruby Gems
Ruby Gems overview
Ruby Gem tutorial: dish gem
Researching Ruby Gems
3 questions

Test your knowledge of Ruby gem libraries

Section 15: Metaprogramming
Introduction to metaprogramming in Ruby
Metaprogramming custom methods in Ruby
Metaprogramming the Ruby String class

In this guide we will walk through the most important metapgoramming mechanism in Ruby, the method_missing method. I'll explain how to implement method_missing and we'll also build a fully functional class that dynamically creates methods. You can access the final code here:

Students Who Viewed This Course Also Viewed

  • Loading
  • Loading
  • Loading

Instructor Biography

Jordan Hudgens, CTO at devCamp

Jordan Hudgens is the CTO and Founder of DevCamp where he leads instruction and curriculum development for all of the DevCamp and Bottega code schools around the US.

As a developer for over the past decade, Jordan has traveled the world building applications and training individuals on a wide variety of topics, including: Ruby development, big data analysis, and software engineering.

Jordan focuses on project driven education, as opposed to theory based development. This style of teaching is conducive to learning how to build real world products that adhere to industry best practices.

Additionally Jordan has published multiple books on programming and computer science, along with developing training curriculum for, devCamp, and AppDev on the topics of Ruby on Rails, Java, AngularJS, NoSQL, API development, and algorithms.

Ready to start learning?
Take This Course