class MoreMath::Permutation

def eql?(other)

and the same Permutation#rank.
value, that is both Permutation instances have the same Permutation#size
Returns true if this Permutation instance and the other have the same
def eql?(other)
  self.class == other.class && size == other.size && rank == other.rank
end