summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMike Mackintosh <m@zyp.io>2015-03-23 16:23:11 -0400
committerMike Mackintosh <m@zyp.io>2015-03-23 16:23:11 -0400
commitc074fd5198830dedbb9cff511661693895f78f13 (patch)
treea00c942059f4988e51a8f9ace8565226348baa0b /lib
parent74afe54e8a75055167b5f98f3809450408a3a6ce (diff)
downloadipaddress-c074fd5198830dedbb9cff511661693895f78f13.tar.gz
cleaned up rdoc consistency
Diffstat (limited to 'lib')
-rw-r--r--lib/ipaddress/ipv4.rb18
1 files changed, 9 insertions, 9 deletions
diff --git a/lib/ipaddress/ipv4.rb b/lib/ipaddress/ipv4.rb
index eea73ac..94cc606 100644
--- a/lib/ipaddress/ipv4.rb
+++ b/lib/ipaddress/ipv4.rb
@@ -648,10 +648,10 @@ module IPAddress;
#
# ip.to("172.16.100.100")
# #=> ["172.16.100.51",
- # "172.16.100.52",
- # ...
- # "172.16.100.99",
- # "172.16.100.100"]
+ # #=> "172.16.100.52",
+ # #=> ...
+ # #=> "172.16.100.99",
+ # #=> "172.16.100.100"]
#
def to(e)
unless e.is_a? IPAddress::IPv4
@@ -675,9 +675,9 @@ module IPAddress;
#
# network / 4 # implies map{|i| i.to_string}
# #=> ["172.16.10.0/26",
- # "172.16.10.64/26",
- # "172.16.10.128/26",
- # "172.16.10.192/26"]
+ # #=> "172.16.10.64/26",
+ # #=> "172.16.10.128/26",
+ # #=> "172.16.10.192/26"]
#
# If +num+ is any other number, the supernet will be
# divided into some networks with a even number of hosts and
@@ -687,8 +687,8 @@ module IPAddress;
#
# network / 3 # implies map{|i| i.to_string}
# #=> ["172.16.10.0/26",
- # "172.16.10.64/26",
- # "172.16.10.128/25"]
+ # #=> "172.16.10.64/26",
+ # #=> "172.16.10.128/25"]
#
# Returns an array of IPv4 objects
#