summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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