Sha256: 900d9d9556e951900bd45ac60b95486a8f686ea8fb7c641e227856819fca93c6
Contents?: true
Size: 925 Bytes
Versions: 97
Compression:
Stored size: 925 Bytes
Contents
require 'rainbow' module Rainbow module Ext module String module InstanceMethods def foreground(*color) Rainbow(self).foreground(*color) end alias color foreground alias colour foreground def background(*color) Rainbow(self).background(*color) end def reset Rainbow(self).reset end def bright Rainbow(self).bright end def faint Rainbow(self).faint end def italic Rainbow(self).italic end def underline Rainbow(self).underline end def blink Rainbow(self).blink end def inverse Rainbow(self).inverse end def hide Rainbow(self).hide end end end end end ::String.send(:include, Rainbow::Ext::String::InstanceMethods)
Version data entries
97 entries across 90 versions & 19 rubygems