Almost all of these examples are correct Ruby programs. If example output is shown, you should be able to copy code from the web page, run it in a Ruby interpreter and get the documented output.
Patterns
- AbstractFactoryPattern
- AbstractSessionPattern
- AdaptorPattern
- BouncerPattern
- ChainOfResponsibilityPattern
- CommandPattern
- CompositePattern
- DecoratorPattern
- DelegatorPattern
- FactoryMethodPattern
- FlyweightPattern
- IteratorPattern
- NullObjectPattern
- ObserverPattern
- ProductTraderPattern
- ProxyPattern
- RepositoryPattern
- SingletonPattern
- StatePattern
- StrategyPattern
- TemplateMethodPattern
- VisitorPattern
No comments:
Post a Comment