diff options
-rw-r--r-- | lib/edoors/board.rb | 2 | ||||
-rw-r--r-- | lib/edoors/door.rb | 5 |
2 files changed, 4 insertions, 3 deletions
diff --git a/lib/edoors/board.rb b/lib/edoors/board.rb index a837512..f845dcd 100644 --- a/lib/edoors/board.rb +++ b/lib/edoors/board.rb @@ -59,7 +59,7 @@ module Edoors end @saved = p receive_p p - garbage if not @saved.nil? + _garbage if not @saved.nil? end # end diff --git a/lib/edoors/door.rb b/lib/edoors/door.rb index ecbf4a9..c3e1995 100644 --- a/lib/edoors/door.rb +++ b/lib/edoors/door.rb @@ -51,18 +51,19 @@ module Edoors @spin.release_p p end # - def garbage + def _garbage puts " ! #{path} didn't give back #{@saved}" if @spin.debug_errors puts "\t#{@saved.data Edoors::FIELD_ERROR_MSG}" if @saved.action==Edoors::ACT_ERROR release_p @saved @saved = nil end + private :_garbage # def process_p p @viewer.receive_p p if @viewer @saved = p receive_p p - garbage if not @saved.nil? + _garbage if not @saved.nil? end # def process_sys_p p |