Sha256: 695f4951f01b76b2680320ad9c89185c0e5820f257708c1f4f485344f1938e20

Contents?: true

Size: 375 Bytes

Versions: 16

Compression:

Stored size: 375 Bytes

Contents

# frozen_string_literal: true

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

      def name
        @model[:name]
      end

      def type
        @model[:type]
      end

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

Version data entries

16 entries across 16 versions & 1 rubygems

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