public function equals(Rope $other)
    {
        return $this->contents === $other->contents
            && $this->encoding === $other->encoding;
    }
public function equals(Rope $other)
    {
        return $this->contents === $other->contents
            && $this->encoding === $other->encoding;
    }
public function equals ( Rope $ other ) { return $ this -> contents === $ other -> contents && $ this -> encoding === $ other -> encoding ; }
Return whether this Rope is equal to another.

@param Rope $other

@return bool
Return whether this Rope is equal to another .