A Resolv::DNS IPv4 address.

Constants

Regex256 = /0 |1(?:[0-9][0-9]?)? |2(?:[0-4][0-9]?|5[0-5]?|[6-9])? |[3-9][0-9]?/x

Regex = /\A(#{Regex256})\.(#{Regex256})\.(#{Regex256})\.(#{Regex256})\z/

Attributes

[R] address

The raw IPv4 address as a String.

Show files where this class is defined (1 file)
Register or log in to add new notes.