Performs class equality checking.
@example Compare the classes.
document === other
@param [ Document
| Object
] other The other object to compare with.
@return [ true | false ] True if the classes are equal, false if not.
def ===(other)
other.is_a?(self)
end