class Syskit::SelfConnection
Exception raised when a connection is being created between two ports of the same component
Attributes
sink[R]
source[R]
Public Class Methods
new(source, sink)
click to toggle source
# File lib/syskit/exceptions.rb, line 826 def initialize(source, sink) @source = source @sink = sink end
Public Instance Methods
pretty_print(pp)
click to toggle source
# File lib/syskit/exceptions.rb, line 831 def pretty_print(pp) pp.text "cannot connect #{source} to #{sink}: they are ports of the same component" end