Hi,

At Thu, 24 Apr 2003 06:21:51 +0900,
Dave Thomas wrote:
> @@ -685,6 +689,14 @@
>      assert_equal(true, net1.include?(IPAddr.new("192.168.2.0")))
>      assert_equal(true, net1.include?(IPAddr.new("192.168.2.255")))
>      assert_equal(false, net1.include?(IPAddr.new("192.168.3.0")))
> +    # test with integer parameter
> +    int = (192 << 24) + (168 << 16) + (2 << 8) + 13
> +printf "%x\n", int
> +printf "%x\n", net1.to_i

These printf's are for debug?

-- 
Nobu Nakada