# File lib/ipaddress/ipv4.rb, line 299 def []=(index, value) @octets[index] = value.to_i initialize("#{@octets.join('.')}/#{prefix}") end