Skip to content
Snippets Groups Projects
Commit 57121827 authored by Francis Luong (Franco)'s avatar Francis Luong (Franco) Committed by GitHub
Browse files

Merge pull request #35 from havenwood/patch-1

Fix method name typo in `#subnet` docs example.
parents c534ea04 7a6f1c14
Branches
No related tags found
No related merge requests found
...@@ -773,7 +773,7 @@ module IPAddress; ...@@ -773,7 +773,7 @@ module IPAddress;
# #
# we can calculate the subnets with a /26 prefix # 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.0/26", "172.16.10.64/26",
# "172.16.10.128/26", "172.16.10.192/26"] # "172.16.10.128/26", "172.16.10.192/26"]
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment