summaryrefslogtreecommitdiff
path: root/lib/pstore.rb
diff options
context:
space:
mode:
Diffstat (limited to 'lib/pstore.rb')
-rw-r--r--lib/pstore.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pstore.rb b/lib/pstore.rb
index 429d7e5..952445f 100644
--- a/lib/pstore.rb
+++ b/lib/pstore.rb
@@ -310,7 +310,7 @@ class PStore
#
# Note that PStore does not support nested transactions.
#
- def transaction(read_only = false, &block) # :yields: pstore
+ def transaction(read_only = false) # :yields: pstore
value = nil
raise PStore::Error, "nested transaction" if !@thread_safe && @lock.locked?
@lock.synchronize do