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

Hello,

9 messages 2017/10/04

[ruby-core:83464] [Ruby trunk Feature#11666] IPAddr#private?

From: knu@...
Date: 2017-10-21 13:35:41 UTC
List: ruby-core #83464
Issue #11666 has been updated by knu (Akinori MUSHA).


Added, thanks for the suggestion.

----------------------------------------
Feature #11666: IPAddr#private?
https://bugs.ruby-lang.org/issues/11666#change-67456

* Author: Glass_saga (Masaki Matsushita)
* Status: Closed
* Priority: Normal
* Assignee: knu (Akinori MUSHA)
* Target version: 
----------------------------------------
I propose a new feature: IPAddr#private?.

Example:

```ruby
IPAddr.new("192.168.1.1").private? #=> true.
```

---Files--------------------------------
patch.diff (1.58 KB)


-- 
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