abstract.rb

Path: lib/facets/core/module/abstract.rb
Last Update: Sat Dec 08 02:02:18 +0000 2007

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]