Skip to content

Tweet observer program that serves as an example of the Observer Pattern in Ruby

Notifications You must be signed in to change notification settings

crivero10/Observer-Pattern-Example-in-Ruby

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 

Repository files navigation

Observer 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.

Author

  • A01371368 Carlos Rivero

Overview

The observer pattern is a behavioral software design pattern that defines a dependency of type one to many between objects, so that when one of the objects changes its state, it notifies this change to all the dependents.

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 twitter_test.rb

References

  • M. Fowler. <em>UML Distilled: A Brief Guide to the Standard

Object Modeling Language, 3rd Edition.</em> Addison-Wesley, 2003.

  • E. Gamma, R. Helm, R. Johnson, J. M. Vlissides. <em>Design

Patterns: Elements of Reusable Object-Oriented Software.</em> Addison-Wesley, 1994.

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

2007.

About

Tweet observer program that serves as an example of the Observer Pattern in Ruby

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages