O'Reilly logo

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

Comprehensive Ruby Programming

Video Description

Learn how to program in the Ruby programming language, starting from scratch and moving to advanced coding techniques.

About This Video

  • 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

In Detail

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!

Table of Contents

  1. Chapter 1 : Ruby Introduction
    1. Introduction to the Ruby Programming Language 00:03:49
    2. How to Install Ruby 00:06:02
    3. How to Install Different Versions of Ruby with RVM 00:01:47
  2. Chapter 2 : Ruby Variables
    1. Introduction to variables in Ruby 00:03:53
    2. Options for printing to the Ruby console 00:04:38
    3. Using gets and chomp to get input from the Ruby console 00:03:20
    4. Ruby variable types and variable scopes 00:13:53
  3. Chapter 3 : Ruby Strings
    1. Introduction to the String data type in Ruby 00:02:05
    2. String interpolation in Ruby 00:05:45
    3. String manipulation in Ruby 00:09:20
    4. String substitution in Ruby 00:05:13
    5. Using the split and strip methods on Strings in Ruby 00:05:18
  4. Chapter 4 : Working with Numbers in Ruby
    1. Arithmetic Functions in Ruby 00:01:57
    2. Order of operations in Ruby Arithmetic 00:08:37
    3. Difference between integers and floats in Ruby 00:04:06
  5. Chapter 5 : Methods in Ruby
    1. Introduction to methods in Ruby 00:03:50
    2. What Ruby methods return 00:04:34
    3. Difference between Puts and Returning Values 00:06:43
    4. Difference between class and instance methods in Ruby 00:06:46
    5. Procs in Ruby 00:06:27
    6. Methods in Ruby: Procs in Ruby 00:04:02
    7. Difference between Procs and Lambdas 00:05:00
    8. Comprehensive Guide to Method Arguments 00:13:54
    9. Splat and Keyword Splat Arguments 00:11:43
  6. Chapter 6 : Ruby Iterators and Loops
    1. While loops in Ruby 00:04:09
    2. Using the Ruby each iterator 00:04:07
    3. Using the 'for in' loop in Ruby 00:01:53
    4. Nested iterators in Ruby 00:06:33
    5. Using the select method in Ruby 00:12:58
    6. How to use the map method on Ruby collections - Part 1 00:08:07
    7. How to use the map method on Ruby Collections - Part 2 00:07:29
    8. Using the inject method in Ruby 00:03:07
  7. Chapter 7 : Ruby Collections
    1. Introduction to Ruby arrays 00:03:14
    2. Deleting items from arrays 00:04:47
    3. Using the Ruby join method on arrays 00:02:27
    4. Using push and pop methods on Ruby arrays 00:02:32
    5. Introduction to hashes in Ruby 00:08:48
    6. How to delete from a Ruby hash 00:01:47
    7. How to iterate over a hash in Ruby 00:02:12
    8. Helpful hash methods in Ruby 00:05:28
  8. Chapter 8 : Ruby Conditionals
    1. Introduction to Ruby conditionals 00:02:43
    2. Using the Unless conditional in Ruby 00:04:24
    3. Using multiple if/else statements in Ruby 00:04:38
    4. Using compound conditionals in Ruby 00:06:53
  9. Chapter 9 : Object Oriented Programming
    1. Introduction to Object Oriented Programming in Ruby 00:08:09
    2. Setters and Getters in Ruby 00:04:08
    3. Using the initialize method in a Ruby class 00:07:24
    4. Object oriented inheritance in Ruby 00:08:20
    5. Differences between Private and Public methods in Ruby 00:10:14
    6. Polymorphism and using super in Ruby 00:04:00
  10. Chapter 10 : Working with the file system in Ruby
    1. Creating a File in Ruby 00:06:04
    2. Reading files into a Ruby program 00:04:06
    3. Deleting files in Ruby 00:01:26
    4. Appending to a file in Ruby 00:04:24
  11. Chapter 11 : Error handling in Ruby
    1. Basic error handling syntax 00:03:31
    2. Better error handling in Ruby 00:05:30
    3. How to build a custom error handler in Ruby 00:06:05
  12. Chapter 12 : Regular Expressions in Ruby
    1. Introduction to Regular Expressions in Ruby 00:10:04
    2. Build an email validation matcher with Regular Expressions in Ruby 00:11:12
    3. Build an IP address validator with Regular Expressions in Ruby 00:06:39
    4. Develop a Wheel of Fortune game in Ruby 00:17:58
  13. Chapter 13 : Searching with grep
    1. Introduction to Grep in Ruby 00:03:06
    2. Using grep instead of the select and map methods for searching 00:07:08
  14. Chapter 14 : Ruby Gems
    1. Ruby Gems overview 00:11:18
    2. Ruby Gem tutorial: dish gem 00:09:48
    3. Researching Ruby Gems 00:05:01
  15. Chapter 15 : Metaprogramming
    1. Introduction to metaprogramming in Ruby 00:03:08
    2. Metaprogramming custom methods in Ruby 00:04:47
    3. Metaprogramming the Ruby String class 00:07:12
    4. Guide to Method Missing in Ruby 00:12:28
    5. Implementing Respond To for Ruby Metaprogramming 00:05:01
    6. Using Define Method to Create Dynamic Methods 00:12:01
    7. Reviewing the find_by method in Rails 00:06:18
  16. Chapter 16 : Web frameworks
    1. Introduction to the Sinatra web framework 00:07:05
    2. Introduction to the Ruby on Rails web framework 00:06:45
  17. Chapter 17 : Working with APIs
    1. Using API calls in Ruby 00:05:41
    2. HTTParty methods for working with APIs 00:05:02
    3. Creating a custom API connector in Ruby 00:07:11
    4. Parsing API data in Ruby 00:05:25
  18. Chapter 18 : Ruby Algorithms
    1. Overview of sorting algorithms 00:07:32
    2. Bubble sort algorithm implementation in Ruby 00:08:05
    3. Ruby implementation of the Quicksort algorithm 00:10:30
    4. Ruby implementation of the mergesort algorithm 00:11:59
    5. Project Euler program 1: Prime Number Counting Algorithm in Ruby 00:05:42
    6. Project Euler program 2: Power Digit Sum Algorithm in Ruby 00:04:05
    7. Project Euler program 3: Humanize Counting Algorithm for Ruby 00:08:21
    8. Project Euler program 4: Date Algorithm for Filtering Days in Ruby 00:08:47
    9. Project Euler program #5: Fibonacci Sequence Digit Counter 00:04:41
    10. Project Euler program #6: Permutation Algorithm 00:06:02
    11. Project Euler program #7: Amicable Numbers 00:09:36
    12. Project Euler program #8: Using Factorials in Ruby 00:07:12
    13. Project Euler program #9: Finding Even Fibonacci Numbers 00:06:18
    14. Project Euler program #10: Finding the least common multiple in Ruby 00:02:55
  19. Chapter 19 : Big data analysis
    1. Introduction to big data analysis in Ruby 00:03:38
    2. Basic decision tree implementation in Ruby 00:08:13
    3. Big data analysis example in Ruby 00:07:50
  20. Chapter 20 : Additional Tools
    1. Introduction to the IRB Console 00:06:10