Ruby, Part 1 of 6: Introduction and Classes
Interactive

Ruby, Part 1 of 6: Introduction and Classes

LearnNow Online
Updated Aug 23, 2018

Course description

Join programming expert Jordan Hudgens for an introduction to the Ruby programming language. In this course, he will demonstrate what makes Ruby unique as a language and how it can be leveraged to build robust applications. Hudgens will also provide a step-by-step guide on how to install Ruby on various operating systems as well teach you best practices to ensure that you are building programs that fall within guidelines of the wider Ruby development community.

Each LearnNowOnline training course is made up of Modules (typically an hour in length). Within each module there are Topics (typically 15-30 minutes each) and Subtopics (typically 2-5 minutes each). There is a Post Exam for each Module that must be passed with a score of 70% or higher to successfully and fully complete the course.


Prerequisites

You should be familiar with basic text editing in a Windows or Linux environment. No prior knowledge of programming is assumed.


Meet the expert

Jordan Hudgens

Jordan Hudgens has certifications for Ruby on Rails, Thinkful; Ruby on Rails, Bloc.io; Front End Development, Thinkful; and AngularJS, Thinkful. He is currently vice president of engineering for TRACKR in Midland, Texas and is working on his PhD in Computer Science from Texas Tech. In addition to Ruby, Jordan works with PHP, JavaScript, MySQL, Postgres, CSS3, C, C++, C#, Objective-C, and Python. He also works with the frameworks Rails (Ruby), Zend (PHP), and Django (Python), plus the libraries AngularJS, jQuery, and Backbone.js.

Video Runtime

119 Minutes

Time to complete

456 Minutes

Course Outline

Getting Started

History and Installation (22:04)

  • Introduction (00:27)
  • History of Ruby (04:23)
  • Tools We'll Use (00:49)
  • Demo: Sublime Text (01:14)
  • Demo: IRB (00:45)
  • Installing Ruby on a PC (02:03)
  • Demo: RubyInstaller for PC (02:40)
  • Installing Ruby on a Mac (01:08)
  • Demo: Ruby on Mac (01:37)
  • Ruby on a Mac + RVM (01:14)
  • Demo: RVM (05:19)
  • Summary (00:18)

Conventions and Best Practices (21:56)

  • Introduction (00:25)
  • Common Ruby Conventions (04:06)
  • Demo: Ruby Styles (04:34)
  • Ruby Best Practices (07:17)
  • Demo: Best Practices (05:18)
  • Summary (00:14)
Classes and Methods

Classes (28:19)

  • Introduction (00:23)
  • Ruby Classes (02:12)
  • Demo: Creating a Class (04:49)
  • Class Accessor Methods (05:32)
  • Demo: Accessor Methods (04:37)
  • Inheritance (03:35)
  • Demo: Inheritance (03:52)
  • Demo: Inheritance Cont. (02:55)
  • Summary (00:20)

Methods (30:38)

  • Introduction (00:17)
  • Methods (09:45)
  • Demo: Passing Arguments (04:53)
  • Demo: Optional and Splat (04:24)
  • Class vs. Instance Methods (04:08)
  • Demo: Class vs. Instance (06:49)
  • Summary (00:18)

Object Oriented Programming (16:42)

  • Introduction (00:19)
  • Object Oriented Nature (02:53)
  • Demo: Check for Objects (03:47)
  • Method Lookup (04:34)
  • Polymorphism (02:33)
  • Demo: Polymorphism (02:21)
  • Summary (00:13)