1
0
Fork 0
mirror of https://github.com/awesome-print/awesome_print synced 2023-03-27 23:22:34 -04:00

Update README.md

This commit is contained in:
Max Pleaner 2016-01-21 12:39:11 -08:00
parent d8aeb66b4b
commit 76f540fd0b

View file

@ -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