28 29 30 31 32 33 34
# File 'lib/websocket_manager.rb', line 28 def close if open? @state = :closing @ws.close end @state end