Class: Structurizr::Relationship

Inherits:
Object
  • Object
show all
Defined in:
lib/structurizr/relationship.rb

Instance Method Summary collapse

Instance Method Details

#inspectObject



9
10
11
12
13
14
15
16
17
# File 'lib/structurizr/relationship.rb', line 9

def inspect
  parts = [
    "#{source.name.inspect} -> #{destination.name.inspect}",
    description.inspect,
    technology.inspect
  ].reject(&:empty?).join(" ")

  %(#<#{parts}>)
end