Module: RGen::ECore::EAttribute::ClassModule
- Defined in:
- lib/mmgen/mm_ext/ecore_mmgen_ext.rb
Instance Method Summary collapse
Instance Method Details
#RubyType ⇒ Object
83 84 85 86 |
# File 'lib/mmgen/mm_ext/ecore_mmgen_ext.rb', line 83 def RubyType typeMap = {'float' => 'Float', 'int' => 'Integer'} (self.getType && typeMap[self.getType.downcase]) || 'String' end |