rf-web/vendor/bundle/gems/em-websocket-0.5.1/lib/em-websocket/debugger.rb
2019-10-21 10:18:17 +02:00

17 lines
212 B
Ruby

module EventMachine
module WebSocket
module Debugger
private
def debug(*data)
if @debug
require 'pp'
pp data
puts
end
end
end
end
end