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

Learning Ruby

Video Description

In this Ruby training course, expert author Mike McMillan teaches you the fundamentals of the Ruby programming language. Ruby was designed to be more powerful that Perl, and more object-oriented than Python, and has gained in popularity due to its power and ease of use. Mike will show you the basic functions and features of Ruby, and how to put them together to create powerful programs.
You will start with lessons for installing Ruby on either your Mac or PC, and how to run simple programs. This Ruby training video is designed for the absolute beginner, and no prior programming experience is necessary. Some of the topics Mike covers in this video training are; working with data and variables, operators and expressions, decision making (if and case statements), loops, methods and functions and object-oriented programming. You will also learn about exception handling, reading and writing files, and working with the Ruby debugger.
In completing this computer based training course for Ruby programming, you will have a solid foundation to allow you to start creating programs using Ruby. From this starting point, you can move on to work with Ruby on Rails, or continue to hand-code your Ruby programs, but either way you will have a strong understanding of the fundamentals of the Ruby programming language. Working files are included for both courses, allowing you to follow along with the author throughout the lessons.

Table of Contents

  1. Introduction
    1. About Ruby 00:03:27
  2. Getting Started With Ruby
    1. Installing Ruby On Windows 00:03:06
    2. Installing Ruby On Mac 00:01:48
    3. Using The Ruby Interactive Shell 00:03:10
    4. Ruby Scripts 00:03:21
    5. Displaying Data 00:03:40
    6. Getting Data In 00:03:40
    7. Exercise 1 - Chapter 2 00:04:06
  3. Data And Variables
    1. Strings 00:07:36
    2. Numbers 00:03:47
    3. Booleans 00:02:30
    4. Ranges 00:04:28
    5. Arrays 00:03:35
    6. Hashes 00:02:57
    7. Creating Variables And Constants 00:05:57
    8. Exercise 1 - Chapter 3 00:02:47
    9. Exercise 2 - Chapter 3 00:04:03
  4. Operators And Expressions
    1. Arithmetic Operators And Expressions 00:04:24
    2. Relational Operators And Expressions 00:05:22
    3. Logical Operators And Expressions 00:03:00
    4. Miscellaneous Expressions 00:03:28
    5. Exercise 1 - Chapter 4 00:03:22
  5. Decisions
    1. Simple If Statement 00:03:12
    2. If Else Statement 00:04:00
    3. If - Else If Statement 00:04:03
    4. Case Statements 00:03:53
    5. Exercise 1 - Chapter 5 00:03:27
    6. Exercise 2 - Chapter 5 00:03:40
  6. Repetition
    1. While Loops 00:05:04
    2. Until Loops 00:04:15
    3. Iterators Loops 00:05:27
    4. For In And Each Loops 00:03:52
    5. Altering Loop Control 00:04:54
    6. Exercise 1 - Chapter 6 00:02:52
    7. Exercise 2 - Chapter 6 00:03:24
  7. Methods
    1. Defining Methods - Part 1 00:05:04
    2. Defining Methods - Part 2 00:04:17
    3. Defining Methods - Part 3 00:04:39
    4. Exercise 1 - Chapter 7 00:03:30
    5. Exercise 2 - Chapter 7 00:04:16
  8. Classes And Objects
    1. Defining A Class - Part 1 00:06:06
    2. Defining A Class - Part 2 00:04:21
    3. Defining A Class - Part 3 00:03:20
    4. Defining A Class - Part 4 00:04:34
    5. Class Variables 00:05:01
    6. Exercise 1 - Chapter 8 00:03:42
    7. Exercise 2 - Chapter 8 00:03:50
    8. Exercise 3 - Chapter 8 00:03:18
  9. Inheritance
    1. Defining Subclasses - Part 1 00:05:03
    2. Defining Subclasses - Part 2 00:04:35
    3. Defining Subclasses - Part 3 00:04:01
    4. Exercise 1 - Chapter 9 00:04:43
  10. Modules
    1. Defining Modules - Part 1 00:04:46
    2. Defining Modules - Part 2 00:03:41
    3. Using Mixins 00:03:02
    4. Exercise 1 - Chapter 10 00:03:09
  11. Exception Handling
    1. Intro To Exceptions 00:03:30
    2. Handling Exceptions - Part 1 00:03:32
    3. Handling Exceptions - Part 2 00:04:27
    4. Raising Exceptions 00:03:29
    5. Working With Catch And Throw 00:03:38
    6. Exercise 1 - Chapter 11 00:03:56
  12. Input And Output
    1. Working With Files - Reading Files 00:03:43
    2. Working With Files - Writing Files 00:05:04
    3. Network Programming 00:04:19
    4. Exercise 1 - Chapter 12 00:04:38
  13. Debugging Ruby
    1. The Ruby Debugger - Part 1 00:04:24
    2. The Ruby Debugger - Part 2 00:04:30
    3. The Ruby Debugger - Part 3 00:03:59
    4. Exercise 1 - Chapter 13 00:04:34
  14. GUI Programming In Ruby
    1. Introduction To Tk 00:03:12
    2. Exploring Widgets 00:04:27
    3. Using Common Widgets 00:04:11
    4. Exercise 1 - Chapter 14 00:04:59
  15. Wrap-Up
    1. Final Thoughts 00:01:49
    2. About The Author 00:02:22