abstract.rb

Path: lib/facets/core/module/abstract.rb
Last Update: Sat Sep 20 13:22:55 +0000 2008

Creates a method that requires to be overridding. If it not overridden and called upon a TypeError will be raised.

 class C
   abstract :a
 end

 c = C.new
 c.a  #=> Error: undefined abstraction #a

[Validate]