How to Install ruby-threach in Ubuntu 18.04



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

sudo apt update
sudo apt install ruby-threach

Description:

Threaded each

An addition to the Enumerable Ruby module that allows easy use of threaded each and each-like iterators. It's a very simple producer-consumer model. . If you're using stock (MRI) ruby -- you probably shouldn't bother with threach unless you're doing IO-intensive stuff. It'll just slow things down. But if you're using a ruby implementation that has real threads, like JRuby, this will give you relatively painless multi-threading.

Homepage: http://github.com/billdueber/threach

Version: 0.2.0-1

Section: universe/ruby