added external design pattern documentation links to creational patterns.

This commit is contained in:
tylerlaberge
2016-08-24 21:30:54 -04:00
parent 190e562f08
commit 854966b38b
5 changed files with 16 additions and 6 deletions
+4 -2
View File
@@ -6,8 +6,9 @@ class Factory(object, metaclass=ABCMeta):
Factory Interface.
All Factories should inherit this class and overwrite the create method.
"""
External Factory Pattern documentation: U{https://en.wikipedia.org/wiki/Factory_method_pattern}
"""
@abstractmethod
def create(self, **kwargs):
"""
@@ -23,8 +24,9 @@ class Factory(object, metaclass=ABCMeta):
class AbstractFactory(Factory):
"""
Abstract Factory Class.
"""
External Abstract Factory Pattern documentation: U{https://en.wikipedia.org/wiki/Abstract_factory_pattern}
"""
def __init__(self):
"""
Initialize the abstract factory.