Sha256: 890d3410835eebd839de9a23092b9a22fbd666845dd9c4cdf2f58c9b4b124407

Contents?: true

Size: 315 Bytes

Versions: 5

Compression:

Stored size: 315 Bytes

Contents

module SimpleBioC
  class Location
    attr_accessor :offset, :length #, :original_offset
    attr_reader :annotation

    def initialize(parent)
      @offset = 0
      # @original_offset = 0
      @length = 0
      @annotation = parent
    end

    def to_s
      "Location @#{offset}:#{length}"
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
simple_bioc-0.0.24 lib/simple_bioc/location.rb
simple_bioc-0.0.23 lib/simple_bioc/location.rb
simple_bioc-0.0.22 lib/simple_bioc/location.rb
simple_bioc-0.0.21 lib/simple_bioc/location.rb
simple_bioc-0.0.20 lib/simple_bioc/location.rb