rf-web/vendor/bundle/gems/em-websocket-0.5.1/lib/em-websocket/debugger.rb

17 lines
212 B
Ruby
Raw Normal View History

2019-10-21 08:18:17 +00:00
module EventMachine
module WebSocket
module Debugger
private
def debug(*data)
if @debug
require 'pp'
pp data
puts
end
end
end
end
end