Method: Bio::GFF::GFF3::SequenceRegion#==

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

#==(other) ⇒ Object

Returns true if self == other. Otherwise, returns false.



1099
1100
1101
1102
1103
1104
1105
1106
1107
1108
# File 'lib/bio/db/gff.rb', line 1099

def ==(other)
  if other.class == self.class and
      other.seqid == self.seqid and
      other.start == self.start and
      other.end == self.end then
    true
  else
    false
  end
end