public
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
bjeanes (author)
Sun May 18 23:12:58 -0700 2008
commit  a8920295ce28269bc643c8fe9e4477ca0ecb7280
tree    ec2d35eeb900386b2c431f02e4eeb824dae3986a
parent  2ffa8bf05fd1ecc98aa4404577895ca0cf6f88e0
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.