class MxxRu::AbstractGenerator

Base class for all source code generators.

Public Instance Methods

build( target ) click to toggle source

This method is called to generate source code required. Should be redefined in a child class.

target

Target, generator belongs to.

# File lib/mxx_ru/abstract_target.rb, line 191
def build( target )
  raise AbstractMethodEx.new( "MxxRu::AbstractGenerator::build" )
end
clean( target ) click to toggle source

This method is called to cleanup of generated source code files.

target

Target, generator belongs to.

# File lib/mxx_ru/abstract_target.rb, line 198
def clean( target )
  raise AbstractMethodEx.new( "MxxRu::AbstractGenerator::clean" )
end