Install ruby-typed-array by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-typed-array
Description:
Ruby library providing enforced-type functionality to Arrays
All methods that alter the contents of an array that implements this Gem are first checked to ensure that the added items are of the types allowed. All methods behave exactly as their Array counterparts, including additional forms, block processing, etc.
Homepage: https://github.com/yaauie/typed-array
Version: 0.1.2-5
Section: universe/ruby