BSD Ports

devel/rubygem-rainbow 3.1.1 DragonFly

Extends ruby String class enabling coloring text on ANSI terminals

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
MIT
Categories
devel, rubygems
Package size
10.2 KiB, 28.6 KiB installed

Description

Rainbow extends ruby String class adding methods to wrap the string with ANSI escape codes.

Rainbow adds following methods to String class:

* foreground(color) (with color and colour aliases) * background(color) * reset * bright * italic (not well supported by terminal emulators). * underline * blink * inverse * hide.

In the other systems

SystemPortVersion
DragonFlydevel/rubygem-rainbow3.1.1
FreeBSDdevel/rubygem-rainbow3.1.1
MidnightBSDdevel/rubygem-rainbow3.1.1
HardenedBSDdevel/rubygem-rainbow3.1.1
GhostBSDdevel/rubygem-rainbow3.1.1

Install

Binary package:

pkg install rubygem-rainbow

From DPorts:

cd /usr/dports/devel/rubygem-rainbow && make install clean

Dependencies

Run dependencies 2