class SimpleBioC::Location

Attributes

annotation[R]
length[RW]
offset[RW]

Public Class Methods

new(parent) click to toggle source
# File lib/simple_bioc/location.rb, line 6
def initialize(parent)
  @infons = {}
  @locations = []
  @annotation = parent
end

Public Instance Methods

to_s() click to toggle source
# File lib/simple_bioc/location.rb, line 12
def to_s
  "Location @#{offset}:#{length}"
end