From 5ea9ccae42984be38494a6e0bd1450cdb7811619 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Mon, 14 May 2012 18:38:25 +0200 Subject: Spot: receive_p raises NoMethodError --- lib/evendoors/spot.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/evendoors/spot.rb b/lib/evendoors/spot.rb index 75114d3..cbaba7a 100644 --- a/lib/evendoors/spot.rb +++ b/lib/evendoors/spot.rb @@ -53,6 +53,10 @@ module EvenDoors # override this to restore your object state on resume end # + def receive_p p + raise NoMethodError.new "receive_p(p) must be overridden" + end + # end # end -- cgit v1.1-2-g2b99