Enterprise Solutions

Course description

In this course, Ruby expert Jordan Hudgens examines the basic building blocks of the program and dives deep on its various data structures such as arrays. He will also discuss how Ruby uses dynamic typecasting and teach you how to use the struct class to encapsulate data with methods and behaviors. With a better understanding of data structures in place, Hudgens will then walk you through how to automate tasks in Ruby such as calculating sums.

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.

Loops and Enumerable Methods

Loops (23:13)

Map, Inject, and Permutation (22:33)

Introduction (00:19)

Map and Collect (03:38)

Demo: Map (05:13)

Inject and Reduce (03:15)

Demo: Inject (04:08)

Permutation (02:36)

Demo: Permutation (03:04)

Summary (00:17)

The short of it...

Need Dev, IT Pro, Creative Design, or Business skills? You’ve come to the right place. We’re an award-winning eLearning company with a passion for helping individuals and teams of all sizes get the skills they need for success.