diff --git a/README.md b/README.md index fb2b4e5..f2da91e 100644 --- a/README.md +++ b/README.md @@ -71,6 +71,13 @@ Supported color names: :black, :redish, :greenish, :yellowish, :blueish, :purpleish, :cyanish, :pale ``` +Use `Object#ai` to return an ASCII encoded string: + +```ruby +irb> "awesome print".ai +=> "\e[0;33m\"awesome print\"\e[0m" +``` + ### Examples ### ```ruby