diff options
author | Shannon Skipper <shannonskipper@gmail.com> | 2013-11-21 08:41:48 -0800 |
---|---|---|
committer | Shannon Skipper <shannonskipper@gmail.com> | 2013-11-21 08:41:48 -0800 |
commit | 7a6f1c1406bb2556c046722138629a18705e27d7 (patch) | |
tree | dff9706fa28d0dcef06fefde7e1635ba5319e577 | |
parent | e781b98d3c8dc8c118fd496095443dd839e2cd92 (diff) | |
download | ipaddress-7a6f1c1406bb2556c046722138629a18705e27d7.tar.gz |
Fix method name typo in `#subnet` docs example.
-rw-r--r-- | lib/ipaddress/ipv4.rb | 2 |
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"] # |