Class: Celluloid::ZMQ::Socket
- Inherits:
-
Object
- Object
- Celluloid::ZMQ::Socket
- Defined in:
- lib/celluloid_zmq_patches.rb
Instance Method Summary collapse
Instance Method Details
#set(*args) ⇒ Object
8 9 10 11 12 |
# File 'lib/celluloid_zmq_patches.rb', line 8 def set(*args) unless ::ZMQ::Util.resultcode_ok? @socket.setsockopt(*args) raise IOError, "couldn't set value: #{::ZMQ::Util.error_string}" end end |