# File lib/rbot/ircsocket.rb, line 189 def shift(tmout = nil) self.synchronize do @non_empty.wait(tmout) if self.empty? return unsafe_shift end end