Sha256: 106b257200da8a50857ddaf073a1232d247b814a26815cd9a3b26b1adc254a79

Contents?: true

Size: 466 Bytes

Versions: 46

Compression:

Stored size: 466 Bytes

Contents

# frozen_string_literal: true

require "lutaml/uml/node/base"
require "lutaml/uml/node/has_name"
require "lutaml/uml/node/has_type"

module Lutaml
  module Uml
    module Node
      class Relationship < Base
        include HasName
        include HasType

        attr_reader :from

        def from=(value)
          @from = value.to_s
        end

        attr_reader :to

        def to=(value)
          @to = value.to_s
        end
      end
    end
  end
end

Version data entries

46 entries across 46 versions & 2 rubygems

Version Path
lutaml-uml-0.2.5 lib/lutaml/uml/node/relationship.rb
lutaml-uml-0.2.4 lib/lutaml/uml/node/relationship.rb
lutaml-uml-0.2.3 lib/lutaml/uml/node/relationship.rb
lutaml-uml-0.2.2 lib/lutaml/uml/node/relationship.rb
lutaml-uml-0.2.1 lib/lutaml/uml/node/relationship.rb
lutaml-uml-0.2.0 lib/lutaml/uml/node/relationship.rb