diff options
author | Francis Luong (Franco) <franco@definefunk.com> | 2017-08-30 07:52:34 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-08-30 07:52:34 -0400 |
commit | 5712182757e385ac9e7872f18f8b0bdd91de1e87 (patch) | |
tree | 18e7cca02c04a46a470f5f3a001950418a5f1a91 | |
parent | c534ea04cb6b69d10878b3049d494f06f411fc6b (diff) | |
parent | 7a6f1c1406bb2556c046722138629a18705e27d7 (diff) | |
download | ipaddress-5712182757e385ac9e7872f18f8b0bdd91de1e87.tar.gz |
Merge pull request #35 from havenwood/patch-1
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 7051678..19ab14c 100644 --- a/lib/ipaddress/ipv4.rb +++ b/lib/ipaddress/ipv4.rb @@ -773,7 +773,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"] # |