Learn your way! Get started

Ruby, Part 1 of 6: Introduction and Classes

with expert Jordan Hudgens


Watch trailer


Course at a glance

Included in these subscriptions:

  • Dev & IT Pro Video
  • Dev & IT Pro Power Pack

Release date 5/27/2016
Level Beginner
Runtime 1h 59m
Closed captioning Included
Transcript Included
eBooks / courseware Included
Hands-on labs Included
Sample code Included
Exams Included


Enterprise Solutions

Need reporting, custom learning tracks, or SCORM? Learn More



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.

Prerequisites

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

Learning Paths

This course is part of the following LearnNowOnline SuccessPaths™:
Ruby Development

Meet the expert

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.

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)