Class: PROIEL::TreebankObject Abstract

Inherits:
Object
  • Object
show all
Defined in:
lib/proiel/treebank_object.rb

Overview

This class is abstract.

An object in a treebank.

Direct Known Subclasses

Dictionary, Div, Lemma, Sentence, Source, Token

Instance Method Summary collapse

Instance Method Details

#inspectString

Returns a string containing a human-readable representation of the object.

This implementation provides only minimal information about the object and prevents (potentially infinite) recursion into the object tree.

Returns:

  • (String)

17
18
19
# File 'lib/proiel/treebank_object.rb', line 17

def inspect
  "#<#{self.class} @id=#{id.inspect}>"
end