module EacRubyUtils::AbstractMethods

Support to abstract methods.

Usage:

require 'eac_ruby_utils/abstract_methods'

class BaseClass
  include EacRubyUtils::AbstractMethods

  abstract_methods :mymethod
end

BaseClass.new.mymethod # raise "Abstract method: mymethod"

class SubClass
  def mymethod
    "Implemented"
  end
end

SubClass.new.mymethod # return "Implemented"