enum Assert::Assertions::Ip::IPVersion
Overview
Which IP version to use to validate against.
Defined in:
assertions/ip.crEnum Members
-
IPV4 =
0
-
Matches IPv4 format.
-
IPV6 =
1
-
Matches IPv6 format.
Instance Method Summary
-
#get_pattern : Regex
Returns the
Regex
pattern forself
. - #ipv4?
- #ipv6?