lib/sqs/right_sqs.rb
# Pops (and deletes) first accessible message from queue. 
# Returns Message instance or +nil+ it the queue is empty.
#
#  queue.pop #=> #<RightAws::Sqs::Message:0xb7bf0884 ... >
#
Pops (and deletes) first accessible message from queue.
Returns Message instance or +nil+ it the queue is empty.


Pops ( and deletes ) first accessible message from queue . Returns Message instance or + nil + it the queue is empty .
def pop
        msg = receive
        msg.delete if msg
        msg
      end
def pop msg = receive msg . delete if msg msg end
Pops (and deletes) first accessible message from queue.
Pops ( and deletes ) first accessible message from queue .