Actions
Feature #8833
closed[PATCH] IPAddr#pred
Feature #8833:
[PATCH] IPAddr#pred
Description
Add a IPAddr#pred method to return the predecessor of the ip address.
Files
Updated by zzak (zzak _) about 12 years ago
- Category set to lib
- Status changed from Open to Assigned
- Assignee set to knu (Akinori MUSHA)
A good proposal should have a usecase with examples, also I would recommend tests (although I'm unsure if IPAddr has tests)...
Updated by knu (Akinori MUSHA) about 8 years ago
- Status changed from Assigned to Feedback
IPAddr has succ almost only because it is required along with <=> to generate a Range object, so I'd like to know a use case for pred, if any.
Actions