From beb71e9849eafaa1de97d274725a5e9c5264da30 Mon Sep 17 00:00:00 2001 From: Casey Dahlin Date: Mon, 27 Oct 2008 16:10:38 -0400 Subject: Remove commented out consistency check Its nearly impossible to get this one working. We should use a declarative language if we want to be this anal about making things disappear. --- state.rb | 1 - 1 file changed, 1 deletion(-) diff --git a/state.rb b/state.rb index 55430a6..bbae606 100644 --- a/state.rb +++ b/state.rb @@ -86,7 +86,6 @@ class State raise ConsistencyFault, "Lost dep on #{dep} without notify for #{self}" end @@states.delete self - #self.methods.each{ |x| define_method(x, :"*args"){ raise ConsistencyFault, "Operation on dead state" } } self.freeze return end -- cgit