summaryrefslogtreecommitdiffstats
path: root/state.rb
diff options
context:
space:
mode:
authorCasey Dahlin <cdahlin@redhat.com>2008-10-27 16:10:38 -0400
committerCasey Dahlin <cdahlin@redhat.com>2008-10-27 16:10:38 -0400
commitbeb71e9849eafaa1de97d274725a5e9c5264da30 (patch)
tree7177b8517a8bc17fc092babe4b5043e40a91990f /state.rb
parentdc6784f1470a09f0e520d6c2b4e36aab450685e2 (diff)
downloadupstate-beb71e9849eafaa1de97d274725a5e9c5264da30.tar.gz
upstate-beb71e9849eafaa1de97d274725a5e9c5264da30.tar.xz
upstate-beb71e9849eafaa1de97d274725a5e9c5264da30.zip
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.
Diffstat (limited to 'state.rb')
-rw-r--r--state.rb1
1 files changed, 0 insertions, 1 deletions
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