Project

woad

0.0
The project is in a healthy, maintained state
Minimal ANSI terminal colour codes, for Ruby. woad.Ruby is the Ruby implementation of the woad family of libraries.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
2025
2026
 Dependencies
 Project Readme

woad.Ruby

Minimal ANSI terminal colour codes, for Ruby

Language License Gem Version Last Commit Ruby

Table of Contents

  • Introduction
  • Installation
  • Components
  • Examples
  • Project Information
    • Where to get help
    • Contribution guidelines
    • Dependencies
      • Efferent (fan-out)
        • Runtime Dependencies (aka "Normal Dependencies")
        • Development Dependencies
      • Afferent (fan-in)
        • Runtime dependents
        • Development dependents
    • Related projects
    • License

Introduction

woad provides the smallest useful set of fixed ANSI SGR colour sequences for library authors. It is not a console or TUI framework.

woad.Ruby is the Ruby implementation. It supports Ruby 2.0+.

It has no dependencies on any other non-standard library.

Installation

Install via gem as in:

gem install woad

or add it to your Gemfile.

Use via require, as in:

require 'woad'

puts "#{Woad::FG_GREEN}ok#{Woad::RESET}"

Components

woad.Ruby ships SGR string constants (RESET, FG_*, BG_*, including bright variants). TTY/stream gating and Windows virtual-terminal opt-in are not implemented yet.

Examples

Examples are provided in the examples directory, along with a markdown description for each. A detailed list TOC of them is provided in EXAMPLES.md.

Project Information

Where to get help

GitHub Page

Contribution guidelines

Defect reports, feature requests, and pull requests are welcome on https://github.com/synesissoftware/woad.Ruby.

Dependencies

Efferent (fan-out)

Libraries upon which woad.Ruby depends:

Runtime Dependencies (aka "Normal Dependencies")
  • <none>;
Development Dependencies

Afferent (fan-in)

Projects that depend on woad.Ruby:

Runtime dependents
  • <none>;
Development dependents
  • <none>;

Related projects

License

woad.Ruby is released under the 3-clause BSD license. See LICENSE for details.