Sha256: 01b3efa08d86ade7970d49aad5416ef097e91740b092f742136c6cf989d95c51

Contents?: true

Size: 260 Bytes

Versions: 8

Compression:

Stored size: 260 Bytes

Contents

require 'simple_bioc/node_base'
module SimpleBioC
  class Annotation < NodeBase
    attr_accessor :locations, :text

    def initialize(parent)
      super(parent)
      @locations = []
    end

    def to_s
      "Annotation:#{@id} #{@text}"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
simple_bioc-0.0.24 lib/simple_bioc/annotation.rb
simple_bioc-0.0.23 lib/simple_bioc/annotation.rb
simple_bioc-0.0.22 lib/simple_bioc/annotation.rb
simple_bioc-0.0.21 lib/simple_bioc/annotation.rb
simple_bioc-0.0.20 lib/simple_bioc/annotation.rb
simple_bioc-0.0.19 lib/simple_bioc/annotation.rb
simple_bioc-0.0.18 lib/simple_bioc/annotation.rb
simple_bioc-0.0.17 lib/simple_bioc/annotation.rb