summaryrefslogtreecommitdiffstats
path: root/state.rb
diff options
context:
space:
mode:
authorCasey Dahlin <cdahlin@redhat.com>2008-10-03 17:58:42 -0400
committerCasey Dahlin <cdahlin@redhat.com>2008-10-03 17:58:42 -0400
commitf694d2f5240cbc847b0f765ee5d8e76f71d7f814 (patch)
tree5be93f33519c241e9be4c9715bca436af6071638 /state.rb
parent31bdc800eab716e86fc534d2b9291b09b084a51b (diff)
downloadupstate-f694d2f5240cbc847b0f765ee5d8e76f71d7f814.tar.gz
upstate-f694d2f5240cbc847b0f765ee5d8e76f71d7f814.tar.xz
upstate-f694d2f5240cbc847b0f765ee5d8e76f71d7f814.zip
Added missing deps attribute to State
Code had assumed State had a deps attribute. It now does.
Diffstat (limited to 'state.rb')
-rw-r--r--state.rb1
1 files changed, 1 insertions, 0 deletions
diff --git a/state.rb b/state.rb
index 0994c65..951c259 100644
--- a/state.rb
+++ b/state.rb
@@ -26,6 +26,7 @@ An instance of State exists whenever a state can become true without having to
toggle any other states, or whenever a state _is_ true.
=end
class State
+ attr :deps # What are our dependencies?
attr :holds # Holds that are had on this state
attr :active # Are we active?
class << self