Hides your class's ::new method and adds a pure_virtual method generator for defining API methods. If subclasses of your class don't provide implementations of "pure_virtual" methods, NotImplementedErrors will be raised if they are called.
# AbstractClass
class MyBaseClass
include Inversion::AbstractClass
# Define a method that will raise a NotImplementedError if called
pure_virtual :api_method
end
Generated with the Darkfish Rdoc Generator 2.