class Syskit::AmbiguousPortMappings
Exception raised when port mappings cannot be computed because two source ports have the same name
Attributes
model_a[R]
model_b[R]
port_name[R]
Public Class Methods
new(model_a, model_b, port_name)
click to toggle source
# File lib/syskit/exceptions.rb, line 842 def initialize(model_a, model_b, port_name) @model_a, @model_b, @port_name = model_a, model_b, port_name end
Public Instance Methods
pretty_print(pp)
click to toggle source
# File lib/syskit/exceptions.rb, line 847 def pretty_print(pp) pp.text "cannot compute port mappings: #{model_a.short_name} and #{model_b.short_name} share the same port name #{port_name}" end