You think you’ve done everything with Ruby? How about subclassing Module? It’s an interesting technique that I’ve been experimenting with lately. One of the downsides of using modules in Ruby is that a module doesn’t have a state. When you …
Tag Archives: oop
Single Responsibility Principle on Rails Explained
Posted by solnic
on July 9, 2012
14 comments
Get Rid of That Code Smell – Primitive Obsession
Posted by solnic
on June 25, 2012
13 comments
Get Rid of That Code Smell – Duplication
Posted by solnic
on May 11, 2012
3 comments
Get Rid of That Code Smell – Control Couple
Posted by solnic
on April 11, 2012
19 comments
Get Rid of That Code Smell – Attributes
Posted by solnic
on April 4, 2012
13 comments
