summaryrefslogtreecommitdiffstats
path: root/state.rb
diff options
context:
space:
mode:
authorCasey Dahlin <cdahlin@redhat.com>2008-10-03 14:08:25 -0400
committerCasey Dahlin <cdahlin@redhat.com>2008-10-03 14:08:25 -0400
commit32d1bd9b41d59de0051a318dae433228dfcbad44 (patch)
tree4f076d3487be0d0506c24c3a73e0ba8784c40b41 /state.rb
parent8c7991eb45f1ae6ea742a653b7182204951eeea3 (diff)
downloadupstate-32d1bd9b41d59de0051a318dae433228dfcbad44.tar.gz
upstate-32d1bd9b41d59de0051a318dae433228dfcbad44.tar.xz
upstate-32d1bd9b41d59de0051a318dae433228dfcbad44.zip
Update a comment
Fix comment for release method
Diffstat (limited to 'state.rb')
-rw-r--r--state.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/state.rb b/state.rb
index 2e24a50..aab4051 100644
--- a/state.rb
+++ b/state.rb
@@ -82,7 +82,7 @@ class State
rise if @holds.size == 1
end
- # Release a hold on this state. Arguments are the same as for +add_hold+.
+ # Release a hold on this state. Arguments are the same as for +hold+.
def release(hold)
hold = Hold::Dep.new(hold) if hold.is_a? State
hold = Hold::User.new if hold == :user