Last Modified
2014-11-24 04:01:46 -0500
Requires
  • highline

Description

Colorizer for using HighLine colors with Wirb

Automatically translates Wirb color to Highline colors:

HighLineConnector.color(s, :brown_underline) #=> calls HighLine.color(s, :yellow, :underline)

You can mix and match using HighLine color names and Wirb color names. Prefix HighLine color names with :highline. For instance:

Wirb.colorizer.run(s, :highline, :yellow) #=> calls HighLine.color(s, :yellow)
Wirb.colorizer.run(s, :yellow)            #=> calls HighLine.color(s, :bold, :yellow) because 
                                          #   Wirb uses :yellow to mean bold yellow