From 7a6f1c1406bb2556c046722138629a18705e27d7 Mon Sep 17 00:00:00 2001 From: Shannon Skipper Date: Thu, 21 Nov 2013 08:41:48 -0800 Subject: Fix method name typo in `#subnet` docs example. --- lib/ipaddress/ipv4.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ipaddress/ipv4.rb b/lib/ipaddress/ipv4.rb index a798a24..e99aea2 100644 --- a/lib/ipaddress/ipv4.rb +++ b/lib/ipaddress/ipv4.rb @@ -672,7 +672,7 @@ module IPAddress; # # we can calculate the subnets with a /26 prefix # - # ip.subnets(26).map{&:to_string) + # ip.subnet(26).map{&:to_string) # #=> ["172.16.10.0/26", "172.16.10.64/26", # "172.16.10.128/26", "172.16.10.192/26"] # -- cgit v1.2.1