lib/codestrap/strap/factory.rb
def ensure_required
        if @klass.abstract_methods.length > 0
          methods = @klass.abstract_methods.map{ |method| "#{@klass.to_s}##{method}" }
          raise FactoryException, "Abstract Method(s) #{methods.join(', ')} not overridden"
        end
      end
# Ensures any methods aliased to abstract_method are overridden
# @raise [FactoryAbstractMethod]
#   Raised if a abstract method (A method aliased to abstract_method), is not created in the child
Ensures any methods aliased to abstract_method are overridden
Ensures any methods aliased to abstract_method are overridden
def ensure_required
        if @klass.abstract_methods.length > 0
          methods = @klass.abstract_methods.map{ |method| "#{@klass.to_s}##{method}" }
          raise FactoryException, "Abstract Method(s) #{methods.join(', ')} not overridden"
        end
      end
def ensure_required if @klass . abstract_methods . length > 0 methods = @klass . abstract_methods . map { | method | "#{@klass.to_s}##{method}" } raise FactoryException , "Abstract Method(s) #{methods.join(', ')} not overridden" end end
Ensures any methods aliased to abstract_method are overridden
Ensures any methods aliased to abstract_method are overridden
[FactoryAbstractMethod] Raised if a abstract method (A method aliased to abstract_method), is not created in the child
[ FactoryAbstractMethod ] Raised if a abstract method ( A method aliased to abstract_method ) is not created in the child