RubyFlow The Ruby and Rails community linklog

Refactoring with Design Patterns - The State Pattern

In this article we talk about a pattern that can be very useful when we need to control the flow of a set of events of our objects: The State Pattern a.k.a Finite State Machine.

https://www.ombulabs.com/blog/code-refactor/design-patterns/refactoring-state-pattern.html

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in