From b9b8b59d6a7d7437318272e436548052175d4e03 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Thu, 28 Jun 2012 10:48:23 +0200 Subject: Board: add ACT_PASS_THROUGH --- lib/edoors/board.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/lib/edoors/board.rb b/lib/edoors/board.rb index 990d312..27c5c85 100644 --- a/lib/edoors/board.rb +++ b/lib/edoors/board.rb @@ -22,6 +22,7 @@ module Edoors # ACT_FOLLOW = 'follow'.freeze + ACT_PASS_THROUGH = 'pass_through'.freeze # class Board < Door # @@ -69,7 +70,7 @@ module Edoors # def process_p p @viewer.receive_p p if @viewer - if p.action!=Edoors::ACT_ERROR + if p.action!=Edoors::ACT_ERROR and p.action!=Edoors::ACT_PASS_THROUGH p2 = @postponed[p.link_value] ||= p return if p2==p @postponed.delete p.link_value -- cgit v1.1-2-g2b99