Method: WordNet::Synset#inspect
- Defined in:
- lib/wordnet/synset.rb
#inspect ⇒ Object
Return a human-readable representation of the objects, suitable for debugging.
689 690 691 692 693 694 695 696 697 698 699 |
# File 'lib/wordnet/synset.rb', line 689 def inspect return "#<%p:%0#x {%d} '%s' (%s): [%s] %s>" % [ self.class, self.object_id * 2, self.synsetid, self.wordlist.join(', '), self.part_of_speech, self.lexical_domain, self.definition, ] end |