Avoid loooong error messages in DRC and LVS by bypassing the engine's inspect implementation which emits a lot of internal members

This commit is contained in:
Matthias Koefferlein 2023-01-25 20:42:30 +01:00
parent cb4501787f
commit 500fa5b62d
2 changed files with 10 additions and 0 deletions

View File

@ -75,6 +75,11 @@ module DRC
end
# avoids lengthy error messages
def inspect
"DRCEngine(...)"
end
# for testing
def force_gc(f)
@force_gc = f

View File

@ -26,6 +26,11 @@ module LVS
super
end
# avoids lengthy error messages
def inspect
"LVSEngine(...)"
end
# %LVS%
# @name netter
# @brief Creates a new netter object