From: Daniel Berger Date: 2006-02-03T05:27:56+09:00 Subject: Question about PStore API Hi all, This is one of those, "Why are things this way" kind of questions. Why doesn't PStore#transaction yield itself? That way I could write: store.transaction{ |s| s['names'] = %w/foo bar baz/ s['tree'] = T.new } Or maybe we could even use method_missing to clean things up even more: store.transaction{ |s| s.names = %w/foo bar baz/ # same as s['names'] s.tree = T.new } Some thread safety issue I'm not aware of in the first case? Too slow in the second? Just curious. Dan