Sha256: 537362f8405d68bef1346d0b935c2eab9cd26b2df39483e13d209a254ee3a528
Contents?: true
Size: 373 Bytes
Versions: 3
Compression:
Stored size: 373 Bytes
Contents
# frozen_string_literal: true require 'structurizr/metal' module Structurizr Relationship = Metal::Model::Relationship class Relationship def inspect parts = [ "#{source.name.inspect} -> #{destination.name.inspect}", description.inspect, technology.inspect ].reject(&:empty?).join(" ") %(#<#{parts}>) end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
structurizr-1.29.0-java | lib/structurizr/relationship.rb |
structurizr-1.26.1-java | lib/structurizr/relationship.rb |
structurizr-1.0.0.rc.2 | lib/structurizr/relationship.rb |