Module | RGen::ECore::ECoreInterface |
In: |
lib/rgen/ecore/ecore_interface.rb
|
Mixin to provide access to the ECore model describing a Ruby class or module built using MetamodelBuilder. The module should be used to extend a class or module, i.e. to make its methods class methods.
This method will lazily build to ECore model element belonging to the calling class or module using RubyToECore. Alternatively, the ECore model element can be provided up front. This is used when the Ruby metamodel classes and modules are created from ECore.