instance method
IPAddr#succ
() -> ::IPAddr
succ
lib/ipaddr.rb
View on GitHub ↗
# File tmp/rubies/ruby-4.0.0/lib/ipaddr.rb, line 430
def succ
return self.clone.set(@addr + 1, @family)
end
Returns the successor to the ipaddr.