Jul 24 2013 TL;DR: Subclassing core classes in Ruby can lead to unexpected side effects. I suggest composition over inheritance in all these cases. Subclassing Review If youâre familiar with the concept of subclassing, skip down to âThe Problem.â In Ruby, you can make your own classes: class List end You can also make subclasses of those classes: class OrderedList < List end puts OrderedList.new.k
{{#tags}}- {{label}}
{{/tags}}