Issue #8833 has been updated by knu (Akinori MUSHA).

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.

----------------------------------------
Feature #8833: [PATCH] IPAddr#pred
https://bugs.ruby-lang.org/issues/8833#change-67482

* Author: iosctr (Brian Burns)
* Status: Feedback
* Priority: Normal
* Assignee: knu (Akinori MUSHA)
* Target version: 
----------------------------------------
Add a IPAddr#pred method to return the predecessor of the ip address.

---Files--------------------------------
ipaddr_pred.patch (405 Bytes)


-- 
https://bugs.ruby-lang.org/

Unsubscribe: <mailto:ruby-core-request / ruby-lang.org?subject=unsubscribe>
<http://lists.ruby-lang.org/cgi-bin/mailman/options/ruby-core>