[#955] Ruby 1.4.3 — Yukihiro Matsumoto <matz@...>
Ruby 1.4.3 is out, check out:
1 message
1999/12/07
[#961] Ruby compileable by C++ compiler? — Clemens Hintze <c.hintze@...>
Hi,
8 messages
1999/12/10
[#962] Re: Ruby compileable by C++ compiler?
— matz@... (Yukihiro Matsumoto)
1999/12/10
Hi,
[#963] Re: Ruby compileable by C++ compiler?
— Clemens Hintze <clemens.hintze@...>
1999/12/10
Wei,
[#964] Bastion or SecurityManager for Ruby? — Clemens Hintze <clemens.hintze@...>
Hi,
15 messages
1999/12/10
[#966] Re: Bastion or SecurityManager for Ruby?
— nakajima kengo<ringo@...>
1999/12/10
Hello Clemens,
[#967] Re: Bastion or SecurityManager for Ruby?
— matz@... (Yukihiro Matsumoto)
1999/12/10
Hi,
[#989] a question about to_i — Friedrich Dominicus <Friedrich.Dominicus@...>
Sorry, I'm quite new to ruby. But I encounterd the following problem. If
17 messages
1999/12/19
[ruby-talk:01009] Reparenting a block
From:
Dave Thomas <Dave@...>
Date:
1999-12-31 06:09:39 UTC
List:
ruby-talk #1009
Another block question. Is there any way to re-parent a Proc? For
example
class Dave
def initialize(&block)
??
end
def fred
print "In fred\n"
end
end
Dave.new {
fred
}
Is there a magic incantation at the '??'s above which would cause the
block containing the call to 'fred' to be evaluated with self set to
the object created by Dave.new? I've tried instance_eval, but I don't
seem to be able to get it so work with a variable containing a block.
Thanks
Dave