class SimpleBioC::Annotation

Attributes

locations[RW]
text[RW]

Public Class Methods

new(parent) click to toggle source
Calls superclass method
# File lib/simple_bioc/annotation.rb, line 6
def initialize(parent)
  super(parent)
  @locations = []
end

Public Instance Methods

to_s() click to toggle source
# File lib/simple_bioc/annotation.rb, line 11
def to_s
  "Annotation:#{id} #{text}"
end