Module: RGen::ECore::EModelElement::ClassModule
- Defined in:
- lib/rgen/ecore/ecore_ext.rb
Instance Method Summary collapse
Instance Method Details
#annotationValue(source, tag) ⇒ Object
12 13 14 15 |
# File 'lib/rgen/ecore/ecore_ext.rb', line 12 def annotationValue(source, tag) detail = eAnnotations.select{ |a| a.source == source }.details.find{ |d| d.key == tag } detail && detail.value end |