Course details

Ever thought that ruby metaprogramming is reserved for experienced ruby gurus? Well, not anymore!

Almost all ruby developers want to learn metaprogramming. But, approaching the subject might feel a bit intimidating. Because, every time you tried, all available material was referring to even more complicated or less known concepts. Such as: eigenclasses, ruby object model, classes being objects themselves, etc.

Several years ago, I spent several months researching about ruby metaprogramming and synthesising all available material. At the end, it turned out to be very simple to grasp and understand. The only problem is that there was no one resource that put all moving parts of the subject together and the result is this Ruby Metaprogramming course.

This video course will teach you ruby metaprogramming by introducing small, simple and less known ruby insights in each video. And once you learn them, metaprogramming will just start to make sense.

At the end of the course, you will:

  • Understand Ruby Metaprogramming and join the "Ruby Metaprogramming Gurus" club.
  • Better understand the Ruby language. Since, metaprogramming is in integral part of the laguage.
  • Write more efficient and elegant ruby code using language's metaprogramming features.
  • Be able to understand and explain the magic behind the code/syntax in all popular gems.
  • and of course write your own DSL's for your domains (just like rspec, rake, etc.).

Course overview

Metaprogramming is such an integral part of the Ruby language, that in order to learn it, you need to understand the specific language features. This features are less known and usually ruby books don't explain them. But, once you are introduced to them, metaprogramming will start to make sense. That's why, the course's main content will start by introducing several Ruby insights.

In the next section of the course, you will learn about methods that are involved in metaprogramming. Along the way, we will go through several examples that demystifies magic behind most popular gem syntaxes.

In the last section of the course, we will put together everything you learned into practice and build together our own rspec, domain specific language and some of the rails most popular magical methods.

Updated on 05 April, 2013
Courses you can instantly connect with... Do an online course on Programming starting now. See all courses

Rate this page