Ruby-dev summary 28397-28494


#1

Hi,
This is ruby-dev summary 28397-28494.

[ruby-dev:28436] Re: Affinity of “win32/registry” and “dl/win32”

take_tk claimed that using Win32API.so with dl/win32.rb doesn’t work
fine. On this background, WATANABE Hirofumi decided that Win32API.so
should be replaced with *.rb which only requires dl/win32

[ruby-dev:28466] instance_eval

Hidetoshi NAGAI claimed that instance_eval doesn’t pass self via block
parameter on recent ruby. He proposed that this change is mighty for
Ruby 1.8. Matz agreed and 1.8 behavior is recovered. But 1.9 doesn’t
support it. On 1.9, use instance_exec() instead and pass self
explicitly. Matz said this change is due to [ruby-core:07364].

[ruby-dev:28471] alias and caller

U.Nakamura pointed out that recent Ruby interpreter doesn’t show aliased
caller method name with caller().

def foo
p caller(0)
end
alias aliased_foo foo
aliased_foo()

ruby 1.8.4 (2005-12-24) [i386-cygwin]

#=> [“test.rb:2:in `aliased_foo’”, “test.rb:5”]

ruby 1.9.0 (2006-02-14) [i386-cygwin]

#=> [“test.rb:2:in `foo’”, “test.rb:5”]

And U.Nakamura proposed method method which reported on
[ruby-talk:187149]. Matz said also callee method should be
prepared.

This issue is still open.

[ruby-list:41968] [ANN] Perlish Magazine 20060401

SASADA Koichi (Japan Perl Association) announced that they published
Perlish Magazine on http://jp.rubyist.net/PerlMa/

Regards,