RubyGems Navigation menu

colours 0.0.48

This library is called colours. It is a colour-related toolset. It aims to unify colour-related methods and constants into one project, usable for other ruby projects. I needed such a module because I often found myself in need of different, colour-related methods, so I thought that I should bundle them all together into one new project. This gem also supercedes my earlier gems, such as AdvancedColours, AnsiColours or ColourStrings - these three projects have been merged into the Colours project. As of version 0.0.3, you can autoinclude this module into your project: require 'colours/autoinclude' This will make the Colours namespace and the Colours::AnsiColours namespace available. Also, the eparse() method was added as of version 0.0.4, which is a convenience method to use on 'Foo: bar' input. If you want to test this module, look at the file in test/ directory, which includes a method that will allow you to test this module like so: Colours.test If you have specific suggestions to make this gem more useful for others, please drop me an email at: Thank you.


  1. 0.0.48 - May 12, 2016 (15.5 KB)
  2. 0.0.47 - April 22, 2016 (15.5 KB)
  3. 0.0.46 - April 14, 2016 (15.5 KB)
  4. 0.0.44 - January 1, 2016 (13.5 KB)
  5. 0.0.43 - December 27, 2015 (13.5 KB)
Show all versions (45 total)


  • Robert A. Heiler



SHA 256 checksum:


Total downloads 33,929

For this version 321

= Copy to clipboard Copied!




Required Ruby Version: >= 2.3.1