diff options
author | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-24 13:59:14 -0300 |
---|---|---|
committer | Abinoam P. Marques Jr <abinoam@gmail.com> | 2017-06-24 13:59:14 -0300 |
commit | 0813902c8269c36694b6dd988a1ceb0c2a09ff8a (patch) | |
tree | 9bf07ba569b678e412442367bfdeb5a31942cce8 | |
parent | 91c6366c376d3d8c00e3784553f2036d79adb902 (diff) | |
download | highline-0813902c8269c36694b6dd988a1ceb0c2a09ff8a.tar.gz |
Fix Style reference
-rwxr-xr-x | lib/highline.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/highline.rb b/lib/highline.rb index 05ca094..9015206 100755 --- a/lib/highline.rb +++ b/lib/highline.rb @@ -319,7 +319,7 @@ class HighLine # But it checks for use_color? per instance def color(string, *colors) return string unless use_color? - Style(*colors).color(string) + HighLine.Style(*colors).color(string) end # In case you just want the color code, without the embedding and |