How to Install ruby-virtus in Ubuntu 18.04



Install ruby-virtus by entering the following commands in the terminal:

sudo apt update
sudo apt install ruby-virtus

Description:

attributes on steroids for plain old Ruby objects

The goal of this Ruby library is to provide a common API for defining attributes on a model so all object relational and object document mappers could use it instead of reinventing the wheel all over again. . It is also suitable for any other use case where Ruby objects need to be extended with attributes that require data coercions. . This is a partial extraction of the DataMapper property API.

Homepage: https://github.com/solnic/virtus

Version: 1.0.5-3

Section: universe/ruby