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