From 0a03bd4c8a45c081f76a84e92287edff7c86f456 Mon Sep 17 00:00:00 2001 From: Gustavo Ribeiro Date: Sun, 31 Dec 2023 10:31:00 -0300 Subject: [PATCH] Update README with colors and negative numbers support --- README.md | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 55c7928..612c169 100644 --- a/README.md +++ b/README.md @@ -44,9 +44,14 @@ This snippet will generate the text chart at the top of the readme. ```ruby TextChart.new("text_chart demonstration", "Show you how cool this is", [*1..10].shuffle(random: Random.new(1)).to_s ``` + +You can enable colors: +```ruby +TextChart.new("text_chart demonstration", "Show you how cool this is", [*1..10].shuffle(random: Random.new(1), true).to_s +``` ## Limitations -Right now `TextChart` only supports positive integers. +Right now `TextChart` only supports integers. ## Development