Sha256: f32d8376788046e7abe61f72a705a87f6145329d457f88cb2fededef6628a76f

Contents?: true

Size: 548 Bytes

Versions: 237

Compression:

Stored size: 548 Bytes

Contents

require 'rgen/environment'
require 'rgen/template_language'
require 'rgen/ecore/ecore'
require 'rgen/ecore/ecore_ext'
require 'mmgen/mm_ext/ecore_mmgen_ext'

module MMGen

module MetamodelGenerator

	def generateMetamodel(rootPackage, out_file)
		tc = RGen::TemplateLanguage::DirectoryTemplateContainer.new(RGen::ECore, File.dirname(out_file))
		tpl_path = File.dirname(__FILE__) + '/templates'
		tc.load(tpl_path)
		tc.expand('metamodel_generator::GenerateMetamodel', File.basename(out_file), :for => rootPackage)
	end

end

end

Version data entries

237 entries across 237 versions & 3 rubygems

Version Path
puppet-4.10.5-x86-mingw32 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.5-x64-mingw32 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.5-universal-darwin lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.4 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.4-x86-mingw32 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.4-x64-mingw32 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.4-universal-darwin lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-retrospec-1.4.1 vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.1 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.1-x86-mingw32 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.1-x64-mingw32 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.1-universal-darwin lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-retrospec-1.4.0 vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.0 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.0-x86-mingw32 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.0-x64-mingw32 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.10.0-universal-darwin lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-retrospec-1.3.2 vendor/gems/puppet-4.5.2/lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.9.4 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb
puppet-4.9.4-x86-mingw32 lib/puppet/vendor/rgen/lib/mmgen/metamodel_generator.rb