Skip to content
Snippets Groups Projects
Commit c074fd51 authored by Mike Mackintosh's avatar Mike Mackintosh
Browse files

cleaned up rdoc consistency

parent 74afe54e
Branches
No related tags found
No related merge requests found
...@@ -648,10 +648,10 @@ module IPAddress; ...@@ -648,10 +648,10 @@ module IPAddress;
# #
# ip.to("172.16.100.100") # ip.to("172.16.100.100")
# #=> ["172.16.100.51", # #=> ["172.16.100.51",
# "172.16.100.52", # #=> "172.16.100.52",
# ... # #=> ...
# "172.16.100.99", # #=> "172.16.100.99",
# "172.16.100.100"] # #=> "172.16.100.100"]
# #
def to(e) def to(e)
unless e.is_a? IPAddress::IPv4 unless e.is_a? IPAddress::IPv4
...@@ -675,9 +675,9 @@ module IPAddress; ...@@ -675,9 +675,9 @@ module IPAddress;
# #
# network / 4 # implies map{|i| i.to_string} # network / 4 # implies map{|i| i.to_string}
# #=> ["172.16.10.0/26", # #=> ["172.16.10.0/26",
# "172.16.10.64/26", # #=> "172.16.10.64/26",
# "172.16.10.128/26", # #=> "172.16.10.128/26",
# "172.16.10.192/26"] # #=> "172.16.10.192/26"]
# #
# If +num+ is any other number, the supernet will be # If +num+ is any other number, the supernet will be
# divided into some networks with a even number of hosts and # divided into some networks with a even number of hosts and
...@@ -687,8 +687,8 @@ module IPAddress; ...@@ -687,8 +687,8 @@ module IPAddress;
# #
# network / 3 # implies map{|i| i.to_string} # network / 3 # implies map{|i| i.to_string}
# #=> ["172.16.10.0/26", # #=> ["172.16.10.0/26",
# "172.16.10.64/26", # #=> "172.16.10.64/26",
# "172.16.10.128/25"] # #=> "172.16.10.128/25"]
# #
# Returns an array of IPv4 objects # Returns an array of IPv4 objects
# #
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment