Registry / utility / statemachine

statemachine

JSON →
library2.3.0rbrubygemsunverified

A Ruby library for building Finite State Machines (FSM) and Finite State Automata (FSA).

gem install statemachine
INSTALL
IMPORT
SIG · STATEMACHINE
S
statemachine
utilityrubyv2.3.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Statemachine
require 'statemachine'

Create and use a simple state machine

require 'statemachine' sm = Statemachine.build do trans :locked, :coin, :unlocked end sm.coin
Debug
Known issues

No known issues recorded.

Upgrade
Version history
2.3.0latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
7 hits · last 30 days
node
6
Amazon
1
Resources
statemachine — gem install statemachine · libregistry