could combine lines 57 and 58 to be:
unless message == @last_message
..