Skip to content

Latest commit

 

History

History
49 lines (41 loc) · 1.11 KB

README.md

File metadata and controls

49 lines (41 loc) · 1.11 KB

Gem version Downloads License

How To UseDocumentationExample

How to use

Install the gem manually :

$ gem install term-art

or add it to your Gemfile :

+ gem 'term-art'

and then run :

$ bundle

Documentation

Styles

There are two differents styles:

  • :simple Simple style
  • :double Double style

Colors

See hue-rb

Example

require 'term-art'

chart = TermArt::Chart.new([
  ['A', 'B', 'C'],
  ['D', 'E', 'F']
])
puts chart.draw(style: :simple, color: :red)