Learning About the Uses of Singleton Methods in Ruby

Callbacks to

About the screencast

Did you know that in Ruby you can define “personal method” for objects? That is, a method that only one object will respond to. Such methods are called singleton methods and it is worth knowing how to work with them. In this video I’ll also discuss callbacks to observe method changes as well as differences between removed and undefined methods.


Have your say! or become a member now to take part in the discussion