Sha256: 316784a28a646a80e635686485dccef2956333582cc4ff5b9f1a24a434cfbcc3

Contents?: true

Size: 370 Bytes

Versions: 15

Compression:

Stored size: 370 Bytes

Contents

# frozen_string_literal: true

module Lutaml
  module XMI
    class DiagramDrop < Liquid::Drop
      def initialize(model) # rubocop:disable Lint/MissingSuper
        @model = model
      end

      def xmi_id
        @model[:xmi_id]
      end

      def name
        @model[:name]
      end

      def definition
        @model[:definition]
      end
    end
  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
lutaml-0.9.25 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.24 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.23 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.22 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.21 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.20 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.19 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.18 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.17 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.16 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.15 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.14 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.13 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.12 lib/lutaml/xmi/liquid_drops/diagram_drop.rb
lutaml-0.9.11 lib/lutaml/xmi/liquid_drops/diagram_drop.rb