Registry / utility / celluloid-fsm

celluloid-fsm

JSON →
library0.20.5rbrubygemsunverified

Simple finite state machines with integrated Celluloid timeout support.

gem install celluloid-fsm
INSTALL
IMPORT
SIG · CELLULOID-FSM
C
celluloid-fsm
utilityrubyv0.20.5
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.

Celluloid::FSM
require 'celluloid/fsm'

Define a finite state machine with Celluloid actors and timeout support.

require 'celluloid/fsm' class TrafficLight include Celluloid::FSM state :green, to: [:yellow] state :yellow, to: [:red] state :red, to: [:green] initial_state :green end light = TrafficLight.new light.transition(:yellow)
Debug
Known issues
breakingCelluloid is no longer maintained; consider alternatives like concurrent-ruby.
fix
Use a maintained FSM library (e.g., 'state_machines') or switch to concurrent-ruby.
affects: >= 0.20.0
Upgrade
Version history
0.20.5latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
35 hits · last 30 days
node
32
Resources
celluloid-fsm — gem install celluloid-fsm · libregistry