Sha256: 9e326455ad89fd16793ef4c1799ba1ae3ff3dc6a99834bf0ecfb94255236edae
Contents?: true
Size: 245 Bytes
Versions: 7
Compression:
Stored size: 245 Bytes
Contents
class ImplementationMissing < NameError; end module Kernel private def abstract_method(*syms) syms.each do |sym| define_method sym do raise ImplementationMissing, "#{self.class.name}##{sym}" end end end end
Version data entries
7 entries across 7 versions & 1 rubygems