Sha256: 2644fdc45006fa3d479faad6d7ebc4bb9b64148e87a27f658346baa0a154e4cc
Contents?: true
Size: 370 Bytes
Versions: 23
Compression:
Stored size: 370 Bytes
Contents
# encoding: utf-8 require File.join(File.dirname(__FILE__), '..', 'helper') class TestPullSocket < ZmqTestCase def test_behavior ctx = ZMQ::Context.new sock = ctx.socket(:PULL) assert_equal ZMQ::PULL, sock.type assert_equal "PULL socket", sock.to_s assert_raises ZMQ::Error do sock.send("message") end ensure ctx.destroy end end
Version data entries
23 entries across 23 versions & 1 rubygems