[#1816] Ruby 1.5.3 under Tru64 (Alpha)? — Clemens Hintze <clemens.hintze@...>

Hi all,

17 messages 2000/03/14

[#1989] English Ruby/Gtk Tutorial? — schneik@...

18 messages 2000/03/17

[#2241] setter() for local variables — ts <decoux@...>

18 messages 2000/03/29

[ruby-talk:02307] Re: setter() for local variables

From: matz@... (Yukihiro Matsumoto)
Date: 2000-03-31 18:24:53 UTC
List: ruby-talk #2307
Hi,

In message "[ruby-talk:02299] Re: setter() for local variables"
    on 00/03/31, ts <decoux@moulon.inra.fr> 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.

In This Thread