lib/better_ipaddr/methods.rb in better_ipaddr-0.1.4 vs lib/better_ipaddr/methods.rb in better_ipaddr-0.1.5

- old
+ new

@@ -103,20 +103,22 @@ def netmask self.class[mask_addr].to_s end # Return the address greater than the original address by the - # given offset. + # given offset. Note that the result will always be a host + # address. # @param offset [Integer] the difference between the original # address and the returned address # @return [IPAddr] def +(offset) self.class.new(@addr + offset, family) end # Return the address less than the original address by the given - # offset. + # offset. Note that the result will always be a host + # address. # @param offset [Integer] the difference between the original # address and the returned address # @return [IPAddr] def -(offset)