# File basiclibrary.rb, line 147 def hier_inspect(indent=0) t1 = "\t"*indent t2 = t1+"\t" s = "{\n" keys = self.keys lastkey = keys.length-1 keys.each_with_index{ |k,i| v = self[k] s << t2 s << k.hier_inspect(0) s << " => " s << v.hier_inspect(indent+1) s << "," unless i==lastkey s << "\n" } s << t1+"}" end