Injecting Methods in an Object’s Singleton Class in Ruby

less than 1 minute read

If you have ever encountered the class << self kind of syntax, here is an example to show what that syntax does!

PS: Publishing on Valentine’s day for the love of Ruby!

Updated: