diff options
| author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-10 13:06:03 +0000 |
|---|---|---|
| committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-07-10 13:06:03 +0000 |
| commit | 274643ebb9b292035149c004cefa102c1bb3e5a2 (patch) | |
| tree | adab35f778e2384756c3578fd7df0533d1546d6b | |
| parent | 2077c747587a2b24ec4b13e27f18159f3e356594 (diff) | |
| download | ruby-274643ebb9b292035149c004cefa102c1bb3e5a2.tar.gz ruby-274643ebb9b292035149c004cefa102c1bb3e5a2.tar.xz ruby-274643ebb9b292035149c004cefa102c1bb3e5a2.zip | |
* lib/pstore.rb (PStore#transaction): return the result from the
block. [ruby-core:17718]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@18012 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
| -rw-r--r-- | ChangeLog | 5 | ||||
| -rw-r--r-- | lib/pstore.rb | 2 |
2 files changed, 6 insertions, 1 deletions
@@ -1,3 +1,8 @@ +Thu Jul 10 22:06:00 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> + + * lib/pstore.rb (PStore#transaction): return the result from the + block. [ruby-core:17718] + Thu Jul 10 21:15:49 2008 Masaki Suketa <masaki.suketa@nifty.ne.jp> * test/win32ole/test_win32ole_typelib.rb: add some illegal argument diff --git a/lib/pstore.rb b/lib/pstore.rb index 8032c8d52..fdc518eae 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 |
