module Kernel
Private Instance Methods
abstract_method(*syms)
click to toggle source
# File lib/abstract_method.rb, line 17 def abstract_method(*syms) syms.each do |sym| define_method sym do raise ImplementationMissing, "#{self.class.name}##{sym}" end end end