Method: Bio::Alignment::OriginalAlignment#==

Defined in:
lib/bio/alignment.rb

#==(x) ⇒ Object

If x is the same value, returns true. Otherwise, returns false.



1561
1562
1563
1564
1565
1566
1567
1568
# File 'lib/bio/alignment.rb', line 1561

def ==(x)
  #(original)
  if x.is_a?(self.class)
    self.to_hash == x.to_hash
  else
    false
  end
end