summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-10 13:06:03 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-07-10 13:06:03 +0000
commitd238b7c62732edf0a0374043e7da16baa40533e2 (patch)
treeadab35f778e2384756c3578fd7df0533d1546d6b /lib
parent4f1b06aabd54b86f08cac13498c73fcb0237fe05 (diff)
* lib/pstore.rb (PStore#transaction): return the result from the
block. [ruby-core:17718] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
-rw-r--r--lib/pstore.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/pstore.rb b/lib/pstore.rb
index 8032c8d525..fdc518eaec 100644
--- a/lib/pstore.rb
+++ b/lib/pstore.rb
@@ -345,9 +345,9 @@ class PStore
end
end
end
+ value
ensure
@transaction = false
- value
end
private