Class: Lutaml::XMI::DiagramDrop

Inherits:
Liquid::Drop
  • Object
show all
Defined in:
lib/lutaml/xmi/liquid_drops/diagram_drop.rb

Instance Method Summary collapse

Constructor Details

#initialize(model) ⇒ DiagramDrop

rubocop:disable Lint/MissingSuper



6
7
8
# File 'lib/lutaml/xmi/liquid_drops/diagram_drop.rb', line 6

def initialize(model) # rubocop:disable Lint/MissingSuper
  @model = model
end

Instance Method Details

#definitionObject



18
19
20
# File 'lib/lutaml/xmi/liquid_drops/diagram_drop.rb', line 18

def definition
  @model[:definition]
end

#nameObject



14
15
16
# File 'lib/lutaml/xmi/liquid_drops/diagram_drop.rb', line 14

def name
  @model[:name]
end

#package_idObject



22
23
24
# File 'lib/lutaml/xmi/liquid_drops/diagram_drop.rb', line 22

def package_id
  @model[:package_id]
end

#package_nameObject



26
27
28
# File 'lib/lutaml/xmi/liquid_drops/diagram_drop.rb', line 26

def package_name
  @model[:package_name]
end

#xmi_idObject



10
11
12
# File 'lib/lutaml/xmi/liquid_drops/diagram_drop.rb', line 10

def xmi_id
  @model[:xmi_id]
end