lib/em-websocket.rb in em-websocket-0.2.0 vs lib/em-websocket.rb in em-websocket-0.2.1

- old
+ new

@@ -8,5 +8,13 @@ framing76 framing03 handler_factory handler handler75 handler76 handler03 ].each do |file| require "em-websocket/#{file}" end + +unless ''.respond_to?(:getbyte) + class String + def getbyte(i) + self[i] + end + end +end