summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
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