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

Function norm_hash

testdata/ruby/dbPCells.rb:267–275  ·  view source on GitHub ↗
(hash)

Source from the content-addressed store, hash-verified

265end
266
267def norm_hash(hash)
268
269 str = []
270 hash.keys.sort.each do |k|
271 str << k.inspect + "=>" + hash[k].inspect
272 end
273 "{" + str.join(", ") + "}"
274
275end
276
277
278class DBPCellAPI_TestClass < TestBase

Callers 2

test_1Method · 0.85
test_1aMethod · 0.85

Calls 5

eachMethod · 0.80
sortMethod · 0.45
keysMethod · 0.45
inspectMethod · 0.45
joinMethod · 0.45

Tested by 2

test_1Method · 0.68
test_1aMethod · 0.68