lib/bunny/queue.rb in celldee-bunny-0.0.4 vs lib/bunny/queue.rb in celldee-bunny-0.0.5

- old
+ new

@@ -33,14 +33,10 @@ header = client.next_payload msg = client.next_payload raise 'unexpected length' if msg.length < header.size - if hdr - {:header => header, :payload => msg} - else - msg - end + hdr ? {:header => header, :payload => msg} : msg end def ack client.send_frame( \ No newline at end of file