Course description
In this course, Ruby expert Jordan Hudgens dives into the topics of conditionals and blocks by exploring the various mechanisms for implementing this type of behavior into an application. He will discuss working with both standard and nested conditionals as well as give a step-by-step guide for using switch statements. Additionally, Hudgens will take a comprehensive look at blocks, giving a step-by-step demonstration on how they are used including reviewing how popular frameworks use them.
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. This course builds on the previous ruby courses: Ruby: Introduction and Classes, Ruby: Variables and Data Structures, Ruby: Input/Output and Gems.
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.
Video Runtime
107 Minutes
Time to complete
394 Minutes
Course Outline
Standard Conditionals (11:02)
Compound Conditionals (09:24)
Operators (09:36)
Switch (09:55)
Guard (10:29)
What Are Blocks (09:16)
Yield (10:07)
Block Given (13:31)
File Class (07:24)
Yield in Rails (07:23)
Ampersand (09:41)