wirb0_highline.rb

Path: lib/wirb/colorizer/wirb0_highline.rb
Last Update: Sun Jul 01 20:47:47 -0400 2012

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

Required files

highline  

[Validate]