K
Kazuo Saito
Hi all,
This is a summary of ruby-dev mailing list.
[ruby-dev:23295] ensure modifier
A patch for new 'ensure' modifier was posted by Nobu Nakada. It is
similar to 'rescue' modifier. NAKAMURA, Hiroshi and Shugo Maeda
commented that they felt uncertain about the merit of the new modifier.
Other modifiers provide a simple method to write related statements in
one line, but the 'ensure' modifier might break the relation.
For instance, "A if B" indicates a relation between A and B, while
"A ensure B" does not mean such a relation.
[ruby-dev:23308] [Oniguruma] Version 2.2.6
K. Kosako released a new Oniguruma 2.2.6. it has been imported to Ruby
CVS.
You can get the sources from http://www.geocities.jp/kosako1/ .
[ruby-dev:23322] Standard extension libraries for 1.8.* series
Kazuhiro NISHIYAMA asked about a plan for adding new extension libraries
available in 1.9 codeline, such like RSS library, into 1.8 branch.
Matz replied that now he is now mainly working on 1.9 codeline only and
he might add a libraries to 1.8 if you specify the library for him
explicitly. Matz also called for maintainer for 1.8 codeline in the
reply.
[ruby-dev:23332] reconsidering to_str
In this thread, Matz defined to_str as a hack for classes similar to
String
to provide Duck Typing feature in 1.9, and to_str should no longer be
used
for other purposes. He checked standard extension libraries and asked
the
maintainers of libraries that have to_str definition (...) if these
definitions can be deleted.
- For previous issues, visit ruby-dev summary index:
http://i.loveruby.net/en/ruby-dev-summary.html
Kazuo Saito <[email protected]>
This is a summary of ruby-dev mailing list.
[ruby-dev:23295] ensure modifier
A patch for new 'ensure' modifier was posted by Nobu Nakada. It is
similar to 'rescue' modifier. NAKAMURA, Hiroshi and Shugo Maeda
commented that they felt uncertain about the merit of the new modifier.
Other modifiers provide a simple method to write related statements in
one line, but the 'ensure' modifier might break the relation.
For instance, "A if B" indicates a relation between A and B, while
"A ensure B" does not mean such a relation.
[ruby-dev:23308] [Oniguruma] Version 2.2.6
K. Kosako released a new Oniguruma 2.2.6. it has been imported to Ruby
CVS.
You can get the sources from http://www.geocities.jp/kosako1/ .
[ruby-dev:23322] Standard extension libraries for 1.8.* series
Kazuhiro NISHIYAMA asked about a plan for adding new extension libraries
available in 1.9 codeline, such like RSS library, into 1.8 branch.
Matz replied that now he is now mainly working on 1.9 codeline only and
he might add a libraries to 1.8 if you specify the library for him
explicitly. Matz also called for maintainer for 1.8 codeline in the
reply.
[ruby-dev:23332] reconsidering to_str
In this thread, Matz defined to_str as a hack for classes similar to
String
to provide Duck Typing feature in 1.9, and to_str should no longer be
used
for other purposes. He checked standard extension libraries and asked
the
maintainers of libraries that have to_str definition (...) if these
definitions can be deleted.
- For previous issues, visit ruby-dev summary index:
http://i.loveruby.net/en/ruby-dev-summary.html
Kazuo Saito <[email protected]>