Method: IPAddr#succ

Defined in:
lib/ipaddr.rb

#succObject

Returns the successor to the ipaddr.



386
387
388
# File 'lib/ipaddr.rb', line 386

def succ
  return self.clone.set(@addr + 1, @family)
end