Module: WsClient
- Defined in:
- lib/ws_client.rb,
lib/ws_client/version.rb
Defined Under Namespace
Classes: Client
Constant Summary collapse
- VERSION =
"0.2.0"
Class Method Summary collapse
Class Method Details
.connect(url, options = {}) {|client| ... } ⇒ Object
9 10 11 12 13 14 |
# File 'lib/ws_client.rb', line 9 def self.connect(url, ={}) client = ::WsClient::Client.new yield client if block_given? client.connect url, return client end |