summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarco Ceresa <ceresa@gmail.com>2010-05-19 10:45:25 +0100
committerMarco Ceresa <ceresa@gmail.com>2010-05-19 10:45:25 +0100
commitec4544e467f063377f666fc055edec3de6056c8c (patch)
treef6a126a59f3709330d493e3ccd91b5f80d5802a8 /lib
parentd7999ea576f6a1c95dc0491722625f87cf5ae2cf (diff)
downloadipaddress-ec4544e467f063377f666fc055edec3de6056c8c.tar.gz
Added IPv6 documentation and fixed a bug in IPv6#to_hex
Diffstat (limited to 'lib')
-rw-r--r--lib/ipaddress/ipv6.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ipaddress/ipv6.rb b/lib/ipaddress/ipv6.rb
index 3e71268..e8ca89c 100644
--- a/lib/ipaddress/ipv6.rb
+++ b/lib/ipaddress/ipv6.rb
@@ -193,7 +193,7 @@ module IPAddress;
# #=> "20010db80000000000080800200c417a"
#
def to_hex
- hexs.to_s
+ hexs.join("")
end
# Returns the address portion of an IPv6 object