Method: MIME::Type#complete?

Defined in:
lib/mime/type.rb

#complete?Boolean

Returns true if the MIME::Type specifies an extension list, indicating that it is a complete MIME::Type.

Returns:

  • (Boolean)

499
500
501
# File 'lib/mime/type.rb', line 499

def complete?
  !@extensions.empty?
end