Sha256: 6b50efa10d7fc71edb592adc97a237c0235803910c1fc801b2be8d8b464d0893

Contents?: true

Size: 492 Bytes

Versions: 3

Compression:

Stored size: 492 Bytes

Contents

# Require the basic generator before the others, since they will inherit from it
# (assuming the class `BasicGenerator` is already available).
require "curriculum-generator/generator/basic_generator"

# Require the `generic` generators.
Dir.glob(File.join(File.dirname(__FILE__), "generator/*.rb")) do |mod|
  require(mod) if mod != "basic_generator"
end

# Require the `specific` generators.
Dir.glob(File.join(File.dirname(__FILE__), "generator/specific/*.rb")) do |mod|
  require(mod)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
curriculum-generator-1.0.7 lib/curriculum-generator/generator.rb
curriculum-generator-1.0.6 lib/curriculum-generator/generator.rb
curriculum-generator-1.0.5 lib/curriculum-generator/generator.rb