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

From: glass.saga@...
Date: 2015-11-08 07:20:12 UTC
List: ruby-core #71384
Issue #11666 has been reported by Masaki Matsushita.

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

* Author: Masaki Matsushita
* Status: Open
* Priority: Normal
* Assignee: Masaki Matsushita
----------------------------------------
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/

In This Thread

Prev Next