summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAbinoam P. Marques Jr <abinoam@gmail.com>2017-06-24 13:59:14 -0300
committerAbinoam P. Marques Jr <abinoam@gmail.com>2017-06-24 13:59:14 -0300
commit0813902c8269c36694b6dd988a1ceb0c2a09ff8a (patch)
tree9bf07ba569b678e412442367bfdeb5a31942cce8
parent91c6366c376d3d8c00e3784553f2036d79adb902 (diff)
downloadhighline-0813902c8269c36694b6dd988a1ceb0c2a09ff8a.tar.gz
Fix Style reference
-rwxr-xr-xlib/highline.rb2
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