[#863] RDtool-0.5.0 — Toshiro Kuwabara <toshirok@...3.so-net.ne.jp>

Hi,

18 messages 1999/10/23
[#864] Re: RDtool-0.5.0 — matz@... (Yukihiro Matsumoto) 1999/10/26

Hi,

[ruby-talk:00875] Re: call with a Proc

From: Clemens Hintze <clemens.hintze@...>
Date: 1999-10-28 15:49:25 UTC
List: ruby-talk #875
Yukihiro Matsumoto writes:
> Hi,
> 
> In message "[ruby-talk:00871] call with a Proc"
>     on 99/10/28, Clemens Hintze <c.hintze@gmx.net> writes:
> 

[...]

> the block { <do something> } is passed to Proc.new only, no other
> method invocation receives that block.  An method which is block
> unaware is silently ignore block.

[...]

> 
> In fact, the Proc making methods (proc, lambda, Proc.new) do not
> consume the block.  For exapmle,

Okay! I was inaccurate. Sorry! I have meant what you've told! :-)

[...]

>                                                         matz.

\cle

In This Thread