Watch: Mysteries of Eigenclasses in Ruby

Share this article

Eigenclasses (or singleton classes) are probably one of the most mysterious parts of the Ruby object model. Some beginner programmers think that working with eigenclasses is like performing a magic ritual, I admit I used to think the same way however it appears that eigenclasses are not as difficult as they seem. Moreover, understanding them is crucial to fully understanding Ruby object model and so in this video we will try to reveal the mystery of eigenclasses.

Click play if you are brave!

This is the second video of Ruby Metaprogramming Revealed series.

Loading the player…

Ilya Bodrov-KrukowskiIlya Bodrov-Krukowski
View Author

Ilya Bodrov is personal IT teacher, a senior engineer working at Campaigner LLC, author and teaching assistant at Sitepoint and lecturer at Moscow Aviations Institute. His primary programming languages are Ruby (with Rails) and JavaScript. He enjoys coding, teaching people and learning new things. Ilya also has some Cisco and Microsoft certificates and was working as a tutor in an educational center for a couple of years. In his free time he tweets, writes posts for his website, participates in OpenSource projects, goes in for sports and plays music.

angelameigenclassesInstructional videorubysingletonSitepoint Premium
Share this article
Read Next
Get the freshest news and resources for developers, designers and digital creators in your inbox each week
Loading form