class Syskit::IncompatibleComponentModels
Exception raised when two lists of models cannot be merged
Attributes
model_a[R]
model_b[R]
Public Class Methods
new(model_a, model_b)
click to toggle source
# File lib/syskit/exceptions.rb, line 785 def initialize(model_a, model_b) @model_a, @model_b = model_a, model_b end
Public Instance Methods
pretty_print(pp)
click to toggle source
# File lib/syskit/exceptions.rb, line 789 def pretty_print(pp) pp.text "models #{model_a.short_name} and #{model_b.short_name} are incompatible" end