ansi icon indicating copy to clipboard operation
ansi copied to clipboard

:tweak: Remove empty lines in Hash to prevent Ruby 2.2 warnings

Open penmanglewood opened this issue 11 years ago • 1 comments

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

penmanglewood avatar Jan 16 '15 07:01 penmanglewood

This looks like the error referenced in #20 and fixed in 1.5.0.

nickgrim avatar Jan 22 '15 11:01 nickgrim