class Celluloid::ZMQ::Socket

Public Instance Methods

set(*args) click to toggle source
# 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