Sha256: 918689bf8897d906e8df3399c84b6c7c9b6436dda87335dfeb80c76110997690

Contents?: true

Size: 328 Bytes

Versions: 13

Compression:

Stored size: 328 Bytes

Contents

require "activefacts/metamodel"
require "activefacts/compositions/version"

module ActiveFacts
  module Generators
    def self.generators
      @@generators ||= {}
    end

    def self.publish_generator klass
      generators[klass.name.sub(/^ActiveFacts::Generators::/,'').gsub(/::/, '/').downcase] = klass
    end
  end
end

Version data entries

13 entries across 13 versions & 1 rubygems

Version Path
activefacts-compositions-1.9.20 lib/activefacts/generator.rb
activefacts-compositions-1.9.19 lib/activefacts/generator.rb
activefacts-compositions-1.9.18 lib/activefacts/generator.rb
activefacts-compositions-1.9.17 lib/activefacts/generator.rb
activefacts-compositions-1.9.16 lib/activefacts/generator.rb
activefacts-compositions-1.9.15 lib/activefacts/generator.rb
activefacts-compositions-1.9.14 lib/activefacts/generator.rb
activefacts-compositions-1.9.13 lib/activefacts/generator.rb
activefacts-compositions-1.9.12 lib/activefacts/generator.rb
activefacts-compositions-1.9.10 lib/activefacts/generator.rb
activefacts-compositions-1.9.9 lib/activefacts/generator.rb
activefacts-compositions-1.9.8 lib/activefacts/generator.rb
activefacts-compositions-1.9.6 lib/activefacts/generator.rb