Class: PROIEL::GenericTagDefinition Abstract

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

Overview

This class is abstract.

A tag definitions.

Instance Attribute Summary collapse

Instance Method Summary collapse

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

#summaryObject (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