Skip to content

hmaddocks/order_state

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

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

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages