ansi
ansi copied to clipboard
:tweak: Remove empty lines in Hash to prevent Ruby 2.2 warnings
On Ruby 2.2.0, I get the following warning:
/usr/local/var/rbenv/versions/2.2.0/lib/ruby/gems/2.2.0/gems/ansi-1.4.3/lib/ansi/chart.rb:26: warning: duplicated key at line 29 ignored: :concealed
This warning won't show if there are no blank lines inside a Hash, so I removed them
This was introduced in https://bugs.ruby-lang.org/issues/10315
This looks like the error referenced in #20 and fixed in 1.5.0.