'each_with_object' passes the given object as last argument.
losadaem opened this issue · 0 comments
losadaem commented
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_object
and this method passes the given object as last argument unlike inject