Included Modules

Class/Module Index [+]

Quicksearch

RGen::MetamodelBuilder::ModuleExtension

This module is used to extend modules which should be part of RGen metamodels

Public Class Methods

extended(m) click to toggle source
# File lib/rgen/metamodel_builder/module_extension.rb, line 34
def self.extended(m)
  MetamodelBuilder::ConstantOrderHelper.moduleCreated(m)
end

Public Instance Methods

_annotations() click to toggle source
# File lib/rgen/metamodel_builder/module_extension.rb, line 17
def _annotations
  @_annotations ||= []
end
_constantOrder() click to toggle source
# File lib/rgen/metamodel_builder/module_extension.rb, line 21
def _constantOrder
  @_constantOrder ||= []
end
annotation(hash) click to toggle source
# File lib/rgen/metamodel_builder/module_extension.rb, line 13
def annotation(hash)
  _annotations << Intermediate::Annotation.new(hash)
end
final_method(m) click to toggle source
# File lib/rgen/metamodel_builder/module_extension.rb, line 25
def final_method(m)
  @final_methods ||= []
  @final_methods << m
end
method_added(m) click to toggle source
# File lib/rgen/metamodel_builder/module_extension.rb, line 30
def method_added(m)
  raise "Method #{m} can not be redefined" if @final_methods && @final_methods.include?(m)
end

[Validate]

Generated with the Darkfish Rdoc Generator 2.