class PROIEL::RelationTagDefinition
Definition of a relation tag.
Attributes
primary[R]
secondary[R]
Public Class Methods
new(summary, primary, secondary)
click to toggle source
Calls superclass method
PROIEL::GenericTagDefinition::new
# File lib/proiel/annotation_schema.rb, line 116 def initialize(summary, primary, secondary) super(summary) @primary = primary @secondary = secondary end
Public Instance Methods
==(o)
click to toggle source
Tests equality of two tag definitions.
# File lib/proiel/annotation_schema.rb, line 124 def ==(o) @summary == o.summary and @primary == o.primary and @secondary == o.secondary end