[#300] Ruby 1.3.3-990507 — matz <matz@...>
Ruby 1.3.3-990507 is out, check out:
1 message
1999/05/07
[#314] Arity features for Proc object? — matz@... (Yukihiro Matsumoto)
A mail from <yeboah@tu-harburg.de> is somehow rejected by the list
12 messages
1999/05/17
[#315] Re: Arity features for Proc object?
— matz@... (Yukihiro Matsumoto)
1999/05/17
[#316] Re: Arity features for Proc object?
— gotoken@... (GOTO Kentaro)
1999/05/17
In message "[ruby-talk:00315] Re: Arity features for Proc object?"
[#318] Re: Arity features for Proc object?
— matz@... (Yukihiro Matsumoto)
1999/05/17
Hi.
[#319] Re: Arity features for Proc object?
— gotoken@... (GOTO Kentaro)
1999/05/17
In message "[ruby-talk:00318] Re: Arity features for Proc object?"
[#320] Re: Arity features for Proc object?
— matz@... (Yukihiro Matsumoto)
1999/05/17
Hi.
[#323] binding — Pros Yeboah <yeboah@...>
Hi
5 messages
1999/05/18
[#357] thinking aloud — "Bryce Dooley" <thecrow@...>
First off, I think Ruby is a very nice scripting language.
7 messages
1999/05/29
[ruby-talk:00324] Re: binding
From:
matz@... (Yukihiro Matsumoto)
Date:
1999-05-18 06:47:43 UTC
List:
ruby-talk #324
Hi.
In message "[ruby-talk:00323] binding"
on 99/05/18, Pros Yeboah <yeboah@tu-harburg.de> writes:
|Can someone please explain to me the meaning and usage of
|1)the built-in method binding.
binging contains the local variable closure. You can supply it as
the second argument of eval().
def foo
a = 25
b = 55
return binding
end
bind = foo # returns foo's binding
p eval("[a,b]", bind) # evaluate as if within foo
|2)the Kernel method callcc.
It's a continuation. If you know scheme's call/cc, that's it. If you
don't know... hmm.. Could somebody explain it please? Shugo?
matz.