summaryrefslogtreecommitdiff
path: root/README.rdoc
diff options
context:
space:
mode:
authorSteven Schmid <stevschmid@gmail.com>2013-09-13 14:47:06 +0200
committerSteven Schmid <stevschmid@gmail.com>2013-09-13 14:47:06 +0200
commit94f8e44e2049bec7ba8702d15d6a1d91a95f5db9 (patch)
tree980f97e24384ea800c44ea983c85a7b35f36f827 /README.rdoc
parent10c9350c941ba49d91d01c6fe4074551d9fe4c32 (diff)
downloadipaddress-94f8e44e2049bec7ba8702d15d6a1d91a95f5db9.tar.gz
Update README.rdoc
Small fix
Diffstat (limited to 'README.rdoc')
-rw-r--r--README.rdoc2
1 files changed, 1 insertions, 1 deletions
diff --git a/README.rdoc b/README.rdoc
index bcb66f7..2146384 100644
--- a/README.rdoc
+++ b/README.rdoc
@@ -489,7 +489,7 @@ instance the following two networks:
These two networks can be expressed using only one IP address
network if we change the prefix. Let Ruby do the work:
- IPAddress::IPv4::summarize(ip1,ip2).to_string
+ IPAddress::IPv4::summarize(ip1,ip2).map(&:to_string)
#=> "172.16.10.0/23"
We note how the network "172.16.10.0/23" includes all the