Sha256: 05c910f4609eb92c9a2adb21c2774c3a922454936c78c5b6b808e48952c7920a
Contents?: true
Size: 547 Bytes
Versions: 5
Compression:
Stored size: 547 Bytes
Contents
# All of the classes under cgen/generator should be namespaced with this module module CGen::Generator; end # Require the basic generator before the others, since they will assume the BasicGenerator class is already available require 'cgen/generator/basic_generator' # Require the 'generic' generators Dir.glob(File.join(File.dirname(__FILE__), 'generator/*.rb')) { |mod| require(mod) if mod != 'basic_generator' } # Require the 'specific' generators Dir.glob(File.join(File.dirname(__FILE__), 'generator/specific/*.rb')) { |mod| require(mod) }
Version data entries
5 entries across 5 versions & 1 rubygems