Strategy « Design Patterns « Ruby






1.Replacing the Algorithm with the Strategy
2.Sharing Data between the Context and the Strategy
3.Strategy pattern with Ruby dynamic attributes