# File lib/sqs/right_sqs.rb, line 180 def receive(visibility=nil) list = receive_messages(1, visibility) list.empty? ? nil : list[0] end