summaryrefslogtreecommitdiffstats
path: root/lib/evendoors/board.rb
diff options
context:
space:
mode:
authorJérémy Zurcher <jeremy@asynk.ch>2012-05-08 23:25:49 +0200
committerJérémy Zurcher <jeremy@asynk.ch>2012-05-08 23:25:49 +0200
commit2dad5aaa3275552f3c7767707b197475d9f8abfd (patch)
tree469a82a5174428d13c2cc1833da6f6cc93987cc4 /lib/evendoors/board.rb
parentbe52d7061a4939dd0c7d50bdbef8582d7666b6e8 (diff)
downloadedoors-ruby-2dad5aaa3275552f3c7767707b197475d9f8abfd.zip
edoors-ruby-2dad5aaa3275552f3c7767707b197475d9f8abfd.tar.gz
Board, inherits from Door, only override process_p
Diffstat (limited to 'lib/evendoors/board.rb')
-rw-r--r--lib/evendoors/board.rb32
1 files changed, 1 insertions, 31 deletions
diff --git a/lib/evendoors/board.rb b/lib/evendoors/board.rb
index 8442c97..24b028a 100644
--- a/lib/evendoors/board.rb
+++ b/lib/evendoors/board.rb
@@ -4,24 +4,11 @@
#
module EvenDoors
#
- class Board < Spot
+ class Board < Door
#
def initialize n, p=nil
super n, p
- @saved = nil
@postponed = {}
- @parent.add_spot self if @parent
- end
- #
- def require_p p_kls
- p = EvenDoors::Twirl.require_p p_kls
- p.src = self
- p
- end
- #
- def release_p p
- @saved=nil if @saved==p # particle is released, all is good
- EvenDoors::Twirl.release_p p
end
#
def process_p p
@@ -43,23 +30,6 @@ 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
- @parent.send_p p # daddy will know what to do
- end
- #
- def send_sys_p p
- p.src = self
- @saved=nil if @saved==p # particle is sent back the data, all is good
- @parent.send_sys_p p # daddy will know what to do
- end
- #
end
#
end