How to Install ruby-state-machines in Ubuntu 18.04



Install ruby-state-machines by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-state-machines

Description:

Adds support for creating state machines for attributes on any Ruby class

state_machines adds support for creating state machines for attributes on any Ruby class. state_machine provides enough flexibility for creating new machine definitions on the fly based on an external source of transitions.

Homepage: https://github.com/state-machines/state_machines

Version: 0.4.0-2

Section: universe/ruby