Sha256: 18c8fabcf3282a204f689b14fbd7d82fb59489b95562bb2dbc8af43350726f98
Contents?: true
Size: 355 Bytes
Versions: 3
Compression:
Stored size: 355 Bytes
Contents
require "activefacts/metamodel" require "activefacts/compositions/version" module ActiveFacts module Generators def self.generators @@generators ||= {} end def self.publish_generator klass, helptext = '' generators[klass.name.sub(/^ActiveFacts::Generators::/,'').gsub(/::/, '/').downcase] = [klass, helptext] end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
activefacts-compositions-1.9.23 | lib/activefacts/generator.rb |
activefacts-compositions-1.9.22 | lib/activefacts/generator.rb |
activefacts-compositions-1.9.21 | lib/activefacts/generator.rb |