How to Install ruby-polyglot in Ubuntu 18.04



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

sudo apt update
sudo apt install ruby-polyglot

Description:

Custom language loaders for specified file extensions

Allows one to write custom language loaders for specified file extensions to be hooked into require. . This supports the creation of DSLs having a syntax that is most appropriate to their purpose, instead of abusing the Ruby syntax. . Required files are attempted first using the normal Ruby loader, and if that fails, Polyglot conducts a search for a file having a supported extension.

Homepage: http://polyglot.rubyforge.org

Version: 0.3.4-1

Section: universe/ruby