diff options
-rwxr-xr-x | lib/highline/style.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/highline/style.rb b/lib/highline/style.rb index 0ac5102..773cba0 100755 --- a/lib/highline/style.rb +++ b/lib/highline/style.rb @@ -93,7 +93,7 @@ class HighLine #:nodoc: # reset to builtin only styles @styles = list.select { |_name, style| style.builtin } @code_index = {} - @styles.each { |_name, style| index(style) } + @styles.each_value { |style| index(style) } end # Converts all given color codes to hexadecimal and |