Class: PROIEL::GenericTagDefinition Abstract
- Inherits:
-
Object
- Object
- PROIEL::GenericTagDefinition
- Defined in:
- lib/proiel/annotation_schema.rb
Overview
This class is abstract.
A tag definitions.
Direct Known Subclasses
InformationStatusTagDefinition, MorphologyFieldTagDefinition, PartOfSpeechTagDefinition, RelationTagDefinition
Instance Attribute Summary collapse
-
#summary ⇒ Object
readonly
Returns the value of attribute summary.
Instance Method Summary collapse
-
#==(o) ⇒ Object
Tests equality of two tag definitions.
-
#initialize(summary) ⇒ GenericTagDefinition
constructor
A new instance of GenericTagDefinition.
Constructor Details
#initialize(summary) ⇒ GenericTagDefinition
Returns a new instance of GenericTagDefinition.
98 99 100 |
# File 'lib/proiel/annotation_schema.rb', line 98 def initialize(summary) @summary = summary end |
Instance Attribute Details
#summary ⇒ Object (readonly)
Returns the value of attribute summary.
96 97 98 |
# File 'lib/proiel/annotation_schema.rb', line 96 def summary @summary end |
Instance Method Details
#==(o) ⇒ Object
Tests equality of two tag definitions.
103 104 105 |
# File 'lib/proiel/annotation_schema.rb', line 103 def ==(o) @summary == o.summary end |