summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorShannon Skipper <shannonskipper@gmail.com>2013-11-21 08:41:48 -0800
committerShannon Skipper <shannonskipper@gmail.com>2013-11-21 08:41:48 -0800
commit7a6f1c1406bb2556c046722138629a18705e27d7 (patch)
treedff9706fa28d0dcef06fefde7e1635ba5319e577
parente781b98d3c8dc8c118fd496095443dd839e2cd92 (diff)
downloadipaddress-7a6f1c1406bb2556c046722138629a18705e27d7.tar.gz
Fix method name typo in `#subnet` docs example.
-rw-r--r--lib/ipaddress/ipv4.rb2
1 files changed, 1 insertions, 1 deletions
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"]
#