class Xumlidot::Diagram::Xmi::Elements

Public Class Methods

new(options) click to toggle source
Calls superclass method
# File lib/xumlidot/diagram/xmi.rb, line 16
def initialize(options)
  super()
  @options = options
end

Public Instance Methods

draw() { || ... } click to toggle source
# File lib/xumlidot/diagram/xmi.rb, line 21
def draw
  xml = header
  uniq.each { |de| xml += de }
  xml += yield if block_given?
  xml += footer
end

Private Instance Methods

header() click to toggle source
# File lib/xumlidot/diagram/xmi.rb, line 30
def header
  ''
end