Sha256: 5675d08bcf224e3ed799ab8c653e2ae106d6f2be4ca0f386988b82e05ae5ca80
Contents?: true
Size: 563 Bytes
Versions: 16
Compression:
Stored size: 563 Bytes
Contents
# frozen_string_literal: true module Lutaml module XMI class EnumDrop < 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 values @model[:values].map do |value| ::Lutaml::XMI::EnumOwnedLiteralDrop.new(value) end end def definition @model[:definition] end def stereotype @model[:stereotype] end end end end
Version data entries
16 entries across 16 versions & 1 rubygems