[#83107] Alias Enumerable#include? to Enumerable#includes? — Alberto Almagro <albertoalmagro@...>

Hello,

9 messages 2017/10/04

[ruby-core:83478] [Ruby trunk Feature#8833][Feedback] [PATCH] IPAddr#pred

From: knu@...
Date: 2017-10-21 17:15:42 UTC
List: ruby-core #83478
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>

In This Thread

Prev Next