# File lib/mimemagic.rb, line 11 def initialize(type) @type = type @mediatype, @subtype = type.split('/', 2) end