# File lib/puppet/type/zone.rb, line 228
228:     def rm(str)
229:       interface, ip, defrouter = ipsplit(str)
230:       # Reality seems to disagree with the documentation here; the docs
231:       # specify that braces are required, but they're apparently only
232:       # required if you're specifying multiple values.
233:       if ip
234:         "remove net address=#{ip}"
235:       elsif interface
236:         "remove net interface=#{interface}"
237:       else
238:         raise ArgumentError, "can not remove network based on default router"
239:       end
240:     end