A Resolv::DNS IPv4 address.

Constants

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

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

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.