sample code for several design patterns in ruby. Inspired (copied) in domnikl/DesignPatternsPHP