README.rdoc

README.rdoc
Last Update: 2018-09-17 20:34:30 +0000

Singleton Pattern

This documentation was developed as part of a programming activity for the Software Design and Architecture course (Tc3049), at the Tecnológico de Monterrey, Campus Estado de México.

Authors

  • A00456654 Thursday Rubinstein

  • A01160611 Anthony Stark

Overview

The singleton pattern is a GoF creational design pattern that ensures a class only has one instance, and provides a global point of access to it.

The UML diagram for this programming activity is as follows:

To test the program, inside the src folder type the following instruction at the command line:

ruby -I . -w tigger_test.rb

References

  • M. Fowler. UML Distilled: A Brief Guide to the Standard Object Modeling Language, 3rd Edition. Addison-Wesley, 2003.

  • E. Gamma, R. Helm, R. Johnson, J. M. Vlissides. Design Patterns: Elements of Reusable Object-Oriented Software. Addison-Wesley, 1994.

  • R. Olsen. Design Patterns in Ruby. Addison-Wesley, 2007.

  • Ruby-Doc.org. RDoc Markup Reference. http://ruby-doc.org/stdlib-2.4.1/libdoc/rdoc/rdoc/RDoc/Markup.html Accessed August 17, 2017.