Method: MIME::Type#to_h

Defined in:
lib/mime/type.rb

#to_hObject

Converts the MIME::Type to a hash. The output of this method can also be used to initialize a MIME::Type.


524
525
526
# File 'lib/mime/type.rb', line 524

def to_h
  encode_with({})
end