MCPcopy Create free account
hub / github.com/KLayout/klayout / to_s

Method to_s

scripts/mkqtdecl_common/cpp_classes.rb:65–71  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

63 def_initializer :inner
64
65 def to_s
66 if self.inner.is_a?(CPPPointer)
67 "(" + self.inner.to_s + ") []"
68 else
69 self.inner.to_s + " []"
70 end
71 end
72
73 def dump(i)
74 i + "CPPArray\n" + i + " inner:\n" + self.inner.dump(i + " ")

Callers

nothing calls this directly

Calls 1

to_sMethod · 0.45

Tested by

no test coverage detected