lib/fozzie/socket.rb in fozzie-0.0.17 vs lib/fozzie/socket.rb in fozzie-0.0.18
- old
+ new
@@ -1,5 +1,7 @@
+require 'socket'
+
module Fozzie
module Socket
RESERVED_CHARS_REGEX = /[\:\|\@]/
@@ -40,10 +42,10 @@
end
end
# The Socket we want to use to send data
def socket
- @socket ||= UDPSocket.new
+ @socket ||= ::UDPSocket.new
end
end
end
\ No newline at end of file