# File lib/mime/error.rb, line 24 def self.no_instantiation myself, klass if myself.class == klass raise AbstractClassError.new('cannot construct abstract class') end end