Hello all,

This is a summary for last week on the ruby-dev mailing list.
I'm sorry to post this too late. 


  [ruby-dev:20320] singleton_method_added is not in Apollo.exe 

Apollo.exe is a development environment for Ruby with
Delphi.
YOSHIDA Kazuhiro, the developer of Apollo, pointed out that
singleton_method_added is not called in Apollo.exe with
recent Ruby.
usa answered that if ruby_run is not called, an internal
variable ruby_running is not set, then singleton_method_added
is not invoked in rb_add_method().


  [ruby-dev:20335] 1.8 gsub

hsuzu asked how we can write the below script in Ruby 1.8
without warning:

  ' '.gsub(' ', '')

Koji Arai explained that gsub method with two string arguments
in Ruby 1.8 means:

  str.gsub(Regexp.compile(Regexp.quote(patstr)), repl)

Notice that gsub method in Ruby 1.6 means:

  str.gsub(Regexp.compile(patstr), repl)

and they are incompatible.


Regards,

TAKAHASHI 'Maki' Masayoshi (maki / rubycolor.org)