# File lib/wordnet/synset.rb, line 337 def inspect pointerCounts = self.pointerMap.collect {|type,ptrs| "#{type}s: #{ptrs.length}" }.join( ", " ) %{#<%s:0x%08x %s (%s): "%s" (%s)>} % [ self.class.name, self.object_id * 2, self.words.join(", "), self.partOfSpeech, self.gloss, pointerCounts, ] end