lib/ezmq/request.rb in ezmq-0.4.3 vs lib/ezmq/request.rb in ezmq-0.4.4

- old
+ new

@@ -23,10 +23,10 @@ # @option options [lambda] encode how to encode the message. # @option options [lambda] decode how to decode the message. # # @return [void] the decoded response message. # - def request(message = '', **options) + def request(message, **options) send message, options if block_given? yield receive options else receive options