summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-04 16:17:27 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-04 16:17:27 +0200
commit3b472b735061cc1de5768a5b0c64af2facc73bc9 (patch)
treea2e927b0943ca6f874a3035dd7d2299df75f6be7
parent9c7ce8128ce0260c5ae312547855d3c6eb0cfac6 (diff)
downloadedoors-ruby-3b472b735061cc1de5768a5b0c64af2facc73bc9.zip
edoors-ruby-3b472b735061cc1de5768a5b0c64af2facc73bc9.tar.gz
add Door#process_sys_p and Board#process_sys_p, for now just call release_p
-rw-r--r--lib/evendoors/board.rb5
-rw-r--r--lib/evendoors/door.rb5
2 files changed, 10 insertions, 0 deletions
diff --git a/lib/evendoors/board.rb b/lib/evendoors/board.rb
index aacb78c..bc74721 100644
--- a/lib/evendoors/board.rb
+++ b/lib/evendoors/board.rb
@@ -42,6 +42,11 @@ module EvenDoors
end
end
#
+ def process_sys_p p
+ # nothing todo with it now
+ EvenDoors::Twirl.release_p p
+ end
+ #
def send_p p
p.src = self
@saved=nil if @saved==p # particle is sent back the data, all is good
diff --git a/lib/evendoors/door.rb b/lib/evendoors/door.rb
index e737d31..c87bfcd 100644
--- a/lib/evendoors/door.rb
+++ b/lib/evendoors/door.rb
@@ -35,6 +35,11 @@ module EvenDoors
end
end
#
+ def process_sys_p p
+ # nothing todo with it now
+ EvenDoors::Twirl.release_p p
+ end
+ #
def send_p p
p.src = self
@saved=nil if @saved==p # particle is sent back the data, all is good