mime-types/ruby-mime-types

'each_with_object' passes the given object as last argument.

losadaem opened this issue · 0 comments

When calling MIME::Types::Columnar.friendly I'm getting the error

NoMethodError - undefined method `split' for {}:Hash:
  mime-types (2.6.1) lib/mime/types/columnar.rb:130:in `block in dict'

dict is using now each_with_objectand this method passes the given object as last argument unlike inject