Install ruby-string-direction by entering the following commands in the terminal:
sudo apt update sudo apt install ruby-string-direction
Description:
Automatic detection of text direction (ltr, rtl or bidi) for strings
string-direction is a ruby library for automatic detection of the direction (left-to-right, right-to-left or bi-directional) in which a text should be displayed.
Homepage: https://github.com/waiting-for-dev/string-direction/
Version: 1.2.0-1
Section: universe/ruby