Class: Xumlidot::Diagram::Xmi::Elements

Inherits:
Array
  • Object
show all
Defined in:
lib/xumlidot/diagram/xmi.rb

Instance Method Summary collapse

Instance Method Details

#drawObject



16
17
18
19
20
21
# File 'lib/xumlidot/diagram/xmi.rb', line 16

def draw
  xml = header
  uniq.each { |de| xml += de }
  xml += yield if block_given?
  xml += footer
end