lib/better_ipaddr/classes.rb in better_ipaddr-0.4.0 vs lib/better_ipaddr/classes.rb in better_ipaddr-0.5.0

- old
+ new

@@ -222,9 +222,13 @@ end def prefix_length self.class::NETMASK_TO_PREFIX_LENGTH[mask_addr] end + + def to_s(cidr: false, full: false) + better_to_s(cidr: cidr, full: full) + end end class V4 < Base specialize_constants Family::IPV4