From: matz@... (Yukihiro Matsumoto) Date: 2000-04-01T03:24:53+09:00 Subject: [ruby-talk:02307] Re: setter() for local variables Hi, In message "[ruby-talk:02299] Re: setter() for local variables" on 00/03/31, ts writes: | I must do the same for def [], in theory, i.e. | | def [](k) | @tbl[k] = @db[::Marshal::dump(k)] | @tbl[k] | end | | otherwise I lost the possibility to have transaction. Hmm, I didn't know bdb supports transaction. | A littele example (I | don't like the syntax actually, it's copied from the C interface but | perhaps there is a better way of doing it) (snip) I don't understand what your does. Maybe I should learn more about bdb. matz.