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
make_abstract / test / test_classes.rb
100644 10 lines (8 sloc) 0.139 kb
1
2
3
4
5
6
7
8
9
10
class AbstractClass
  make_abstract
end
 
class ChildClass < AbstractClass
end
 
class AbstractChildClass < AbstractClass
  make_abstract
end