@@ -94,19 +94,29 @@ [_key release]; [_value release]; [super dealloc]; } + +- (OFString *)description +{ + return [OFString stringWithFormat: @"%@ = %@", _key, _value]; +} @end @implementation OFINICategoryComment - (void)dealloc { [_comment release]; [super dealloc]; } + +- (OFString *)description +{ + return [[_comment copy] autorelease]; +} @end @implementation OFINICategory @synthesize name = _name; @@ -484,6 +494,12 @@ @throw [OFInvalidArgumentException exception]; } return true; } + +- (OFString *)description +{ + return [OFString stringWithFormat: @"<%@ \"%@\": %@>", + self.class, _name, _lines]; +} @end