From c074fd5198830dedbb9cff511661693895f78f13 Mon Sep 17 00:00:00 2001 From: Mike Mackintosh <m@zyp.io> Date: Mon, 23 Mar 2015 16:23:11 -0400 Subject: [PATCH] cleaned up rdoc consistency --- lib/ipaddress/ipv4.rb | 18 +++++++++--------- 1 file 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 # -- GitLab