Method: Bio::GFF::GFF3::Record::Target#initialize

Defined in:
lib/bio/db/gff.rb

#initialize(target_id, start, endpos, strand = nil) ⇒ Target

Creates a new Target object.



1205
1206
1207
1208
1209
1210
# File 'lib/bio/db/gff.rb', line 1205

def initialize(target_id, start, endpos, strand = nil)
  @target_id = target_id
  @start = start ? start.to_i : nil
  @end = endpos ? endpos.to_i : nil
  @strand = strand
end