Classes: Client
"0.8.0"
Yields:
5 6 7 8 9 10
# File 'lib/websocket-client-simple/client.rb', line 5 def self.connect(url, options={}) client = ::WebSocket::Client::Simple::Client.new yield client if block_given? client.connect url, options return client end