Skip to content

Commit

Permalink
Merge pull request ku1ik#22 from stephan-nordnes-eriksen/patch-1
Browse files Browse the repository at this point in the history
Changing documentation for better output support
  • Loading branch information
ku1ik committed Jan 30, 2015
2 parents 32eec26 + fcdd7fc commit d4e1a00
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ To make your string colored wrap it with `Rainbow()` presenter and call
```ruby
require 'rainbow'

p Rainbow("this is red").red + " and " + Rainbow("this on yellow bg").bg(:yellow) + " and " + Rainbow("even bright underlined!").underline.bright
puts Rainbow("this is red").red + " and " + Rainbow("this on yellow bg").bg(:yellow) + " and " + Rainbow("even bright underlined!").underline.bright

# => "\e[31mthis is red\e[0m and \e[43mthis on yellow bg\e[0m and \e[4m\e[1meven bright underlined!\e[0m"
```
Expand Down

0 comments on commit d4e1a00

Please sign in to comment.