Skip to content

About

A Ruby implementation of the State pattern

Resources

Stars

0 stars

Watchers

1 watching

Forks

Latest commit

 

History

9 Commits

Folders and files

Repository files navigation

Order State

This is an example State Pattern implementation for Ruby (on Rails).

The main class implements methods which might change state by wrapping the state transition code in a block that is passed to the State object.

About

A Ruby implementation of the State pattern

Resources

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages