Training Course

Ruby: Intermediate

Browse All Courses > Web Development

Have a question while you're learning?

Get in-depth explanations, tips, further insights, and more from Certified Experts. Our experts are vetted industry professionals eager to help you learn from their experiences.

Course Syllabus(87 Lessons)

Ruby: Intermediate - Chapter 01 - Conditionals and Blocks
Topic C: Operators - Part 1
3 lessons9m 32s
Topic D: Switch - Part 1
3 lessons9m 51s
Topic E: Guard - Part 1
3 lessons10m 24s
Topic F: What Are Blocks - Part 1
3 lessons9m 11s
Topic G: Yield - Part 1
3 lessons10m 03s
Topic H: Block Given - Part 1
3 lessons13m 26s
Topic I: File Class - Part 1
3 lessons7m 20s
Topic J: Yield in Rails - Part 1
3 lessons7m 18s
Ruby: Intermediate - Chapter 02 - Metaprogramming
Ruby: Intermediate - Chapter 03 - Frameworks and Algorithms

Course Description

This course will cover an array of advanced topics in Ruby. You’ll start this course by gaining an understanding of standard Ruby conditions. Then, you will walk through the full list of operators that Ruby uses for conditionals. This includes everything from the basic equals conditional to complex operators that look at components, such as the data type.

Next, you’ll learn about the switch module in Ruby, starting with the basic syntax and different variations on how to implement switch statements. You will also learn when it’s considered a better practice to use switch statements over if/else conditionals. From there, you’ll learn how to integrate no guards into Ruby programs and understand how they can be used for data validation in Ruby methods.

You will learn what blocks are, how to implement them, and how to use shortcut methods that will save you time when building programs. We’ll then walk through the basic syntax of Yield and finish off with a full implementation demo. You will then learn how to effectively implement the block given method in Ruby. We’ll also discuss how the file class uses blocks and how it can allow developers to have multiple options for working with files.

Now that you have an understanding of blocks, we will review a Ruby on Rails application to see how the popular web framework utilizes blocks in order to make their master layout feature possible. This will include a further discussion of blocks and the yield method.

Learn about the helpful Ampersand process Ruby has in order to add syntactic sugar to passing methods to blocks. This will include a practical implementation using the built-in inject method.

From here we will move on to two advance topics: Procs and Metaprogramming
Learn how to use Proc class in Ruby, along with the key differences between Proc and Lambda classes. Then, learn how the Ruby on Rails framework integrates metaprogramming in order to extend the flexibility of database query methods.

Lastly, we discuss error handling, frameworks, and algorithms. Concluding this robust course of Ruby Intermediate.

Course Details

Level:
Intermediate
Duration:
4h 48m 42s
Students:
4

Instructor

Jordan Hudgens
I have certifications for Ruby on Rails, Thinkful; Ruby on Rails, Bloc.io; Front End Development, Thinkful; and AngularJS, Thinkful. I’m currently vice president of engineering for TRACKR in Midland, Texas and am working on my Ph.D. in computer science from Texas Tech. In addition to Ruby, I work with PHP, JavaScript, MySQL, Postgres, CSS3, C, C++, C#, Objective-C, and Python. I also work with the frameworks Rails (Ruby), Zend (PHP), and Django (Python), plus the libraries AngularJS, jQuery, and Backbone.js.
Jordan HudgensInstructor and Curriculum Developer

Share Course

Ready to get started?

SEE HOW IT WORKS