class YARD::I18n::Message

def ==(other)

Returns:
  • (Boolean) - checks whether this message is equal to another.

Parameters:
  • other (Message) -- the +Message+ to be compared.
def ==(other)
  other.is_a?(self.class) &&
    @id == other.id &&
    @locations == other.locations &&
    @comments == other.comments
end