lib/websocket/eventmachine/client.rb in websocket-eventmachine-client-1.0.0 vs lib/websocket/eventmachine/client.rb in websocket-eventmachine-client-1.0.1

- old
+ new

@@ -51,11 +51,11 @@ # Called after initialize of connection, but before connecting to server # Eventmachine internal # @private def post_init @state = :connecting - @handshake = WebSocket::Handshake::Client.new(@args) + @handshake = ::WebSocket::Handshake::Client.new(@args) end # Called by EventMachine after connecting. # Sends handshake to server # Eventmachine internal @@ -65,14 +65,14 @@ end private def incoming_frame - WebSocket::Frame::Incoming::Client + ::WebSocket::Frame::Incoming::Client end def outgoing_frame - WebSocket::Frame::Outgoing::Client + ::WebSocket::Frame::Outgoing::Client end public #########################