public
Rubygem
Description: Ruby module that upon requirement will allow any object to become "abstract" by calling a single method
Homepage: http://www.bjeanes.com/
Clone URL: git://github.com/bjeanes/make_abstract.git
Search Repo:
Click here to lend your support to: make_abstract and make a donation at www.pledgie.com !
README.markdown

Make Abstract

Usage:

require 'make_abstract'

class AbstractClass
  make_abstract
end    

class AbstractChildClass < AbstractClass
  make_abstract
end

class ChildClass < AbstractClass
end

AbstractClass.new         # will generate CantInstantiateError
AbstractChildClass.new    # will generate CantInstantiateError
ChildClass.new            # will create new ChildClass object

Gem

Tried to create a gemspec file but I have never created a gem before and I am distracted so maybe it won't work. Also first time using test-first coding. I like the concept of it, but not sure if I did the test units right. Whatever.