summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-14 18:38:25 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-14 18:38:25 +0200
commit5ea9ccae42984be38494a6e0bd1450cdb7811619 (patch)
treeb7f01d5a7f653a8381249ff30672b250284a9406
parentcfaf554a3e73935b8612e1a003d89fff4c21ac7e (diff)
downloadedoors-ruby-5ea9ccae42984be38494a6e0bd1450cdb7811619.zip
edoors-ruby-5ea9ccae42984be38494a6e0bd1450cdb7811619.tar.gz
Spot: receive_p raises NoMethodError
-rw-r--r--lib/evendoors/spot.rb4
1 files changed, 4 insertions, 0 deletions
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