יובל קוג'מן (Yuval Kogman) > Test-TAP-HTMLMatrix > Test::TAP::Model::Colorful

Download:
Test-TAP-HTMLMatrix-0.09.tar.gz

Dependencies

Annotate this POD

CPAN RT

Open  0
View/Report Bugs
Source  

NAME ^

Test::TAP::Model::Colorful - Creates color from something that knows it's success ratio.

SYNOPSIS ^

        See template

DESCRIPTION ^

Provides methods that are used to color the test matrix.

METHODS ^

color

A string in hex format (#xxxxxx) corresponding to an RGB color representing the ratio or success.

color_css

Wraps the color in a background-color: %s.

syntax highlighting: