[#964] Bastion or SecurityManager for Ruby? — Clemens Hintze <clemens.hintze@...>

Hi,

15 messages 1999/12/10

[#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:01016] Re: Reparenting a block

From: Dave Thomas <Dave@...>
Date: 1999-12-31 14:50:25 UTC
List: ruby-talk #1016
matz@netlab.co.jp (Yukihiro Matsumoto) writes:

> |Another block question. Is there any way to re-parent a Proc?
> 
> Ruby/Tk is using this technics.
> 
>   TkButton::new(parent) {
>      label "hello world"
>      command { exit }
>   }

In fact my interest started after I started poking around inside Tk
and came across the technique. However, I then saw that you did the
instance_eval in a C extension, rather than directly in Ruby, so I got 
to wondering.

Many thanks for the answers.

Regards


Dave

In This Thread