# File lib/rbrainz/model/mbid.rb, line 81 def self.parse(str, entity_type=nil) if str.respond_to? :to_mbid str.to_mbid(entity_type) else MBID.new(str, entity_type) end end