From d238b7c62732edf0a0374043e7da16baa40533e2 Mon Sep 17 00:00:00 2001 From: nobu Date: Thu, 10 Jul 2008 13:06:03 +0000 Subject: [PATCH] * 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 --- ChangeLog | 5 +++++ lib/pstore.rb | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index aed1560f5c..86bd9eac26 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Thu Jul 10 22:06:00 2008 Nobuyoshi Nakada + + * lib/pstore.rb (PStore#transaction): return the result from the + block. [ruby-core:17718] + Thu Jul 10 21:15:49 2008 Masaki Suketa * test/win32ole/test_win32ole_typelib.rb: add some illegal argument 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