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)
  @offset = 0
  # @original_offset = 0
  @length = 0
  @annotation = parent
end

Public Instance Methods

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