class Bio::Transmembrane::ConfidencedTransmembraneDomain

Attributes

confidence[RW]

Public Instance Methods

<=>(other) click to toggle source
# File lib/bio/transmembrane.rb, line 170
def <=>(other)
  return start<=>other.start if start<=>other.start
  return stop<=>other.start if stop<=>other.stop
  return confidence <=> other.confidence
end
==(other) click to toggle source
# File lib/bio/transmembrane.rb, line 176
def ==(other)
  start == other.start and
  stop == other.stop and
  confidence == other.confidence
end