module WsClient

Constants

VERSION

Public Class Methods

connect(url, options={}) { |client| ... } click to toggle source
# File lib/ws_client.rb, line 9
def self.connect(url, options={})
  client = ::WsClient::Client.new
  yield client if block_given?
  client.connect url, options
  return client
end