Project

General

Profile

Actions

Feature #11666

closed

IPAddr#private?

Added by Glass_saga (Masaki Matsushita) about 9 years ago. Updated about 7 years ago.

Status:
Closed
Target version:
-
[ruby-core:71384]

Description

I propose a new feature: IPAddr#private?.

Example:

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

Files

patch.diff (1.58 KB) patch.diff Glass_saga (Masaki Matsushita), 11/08/2015 07:19 AM

Related issues 1 (0 open1 closed)

Has duplicate Ruby master - Feature #10912: Add method(s) to IPAddr for determining whether an address is link localClosedknu (Akinori MUSHA)Actions
Actions

Also available in: Atom PDF

Like0
Like0Like0Like0Like0Like0Like0Like0Like0