[#63592] [ruby-trunk - Bug #10009] IO operation is 10x slower in multi-thread environment — normalperson@...
Issue #10009 has been updated by Eric Wong.
3 messages
2014/07/08
[#63682] [ruby-trunk - Feature #10030] [PATCH] reduce rb_iseq_struct to 296 bytes — ko1@...
Issue #10030 has been updated by Koichi Sasada.
3 messages
2014/07/13
[#63703] [ruby-trunk - Feature #10030] [PATCH] reduce rb_iseq_struct to 296 bytes — ko1@...
Issue #10030 has been updated by Koichi Sasada.
3 messages
2014/07/14
[#63743] [ruby-trunk - Bug #10037] Since r46798 on Solaris, "[BUG] rb_vm_get_cref: unreachable" during make — ngotogenome@...
Issue #10037 has been updated by Naohisa Goto.
3 messages
2014/07/15
[#64136] Ruby 2.1.2 (and 2.1.1 and probably others) assumes a libffi with 3 version numbers in extconf.rb — "Jeffrey 'jf' Lim" <jfs.world@...>
As per subject.
4 messages
2014/07/31
[#64138] Re: Ruby 2.1.2 (and 2.1.1 and probably others) assumes a libffi with 3 version numbers in extconf.rb
— "Jeffrey 'jf' Lim" <jfs.world@...>
2014/07/31
On Thu, Jul 31, 2014 at 6:03 PM, Jeffrey 'jf' Lim <[email protected]>
[ruby-core:63618] [ruby-trunk - Feature #10018] Consider adding Sub-Includes as in include Foo::bar
From:
matz@...
Date:
2014-07-10 00:49:07 UTC
List:
ruby-core #63618
Issue #10018 has been updated by Yukihiro Matsumoto. And method transplanting only works when the method does not call super nor other Enumerable methods. Automatic resolving is possible, but it would make inclusion far more complex. Matz. ---------------------------------------- Feature #10018: Consider adding Sub-Includes as in include Foo::bar https://bugs.ruby-lang.org/issues/10018#change-47671 * Author: Robert A. Heiler * Status: Feedback * Priority: Normal * Assignee: * Category: * Target version: ---------------------------------------- On IRC someone asked a nice question: > \<arup_r\> If I write `class Foo; include Enumerable; end` This code include all methods from `Enumerable`. But suppose I want to include `#all?`, `#any?` .. What's the way to include only required methods ? This prompted me to write this. What if ruby would allow us to include just singular methods? Something like: ~~~ruby include Enumerable::any? ~~~ And so forth, so that we could cherry-pick what we want. This is already possible in some projects, like facets. But I think they solve it by splitting up the whole stuff into individual files, and then including this. I think it would be nicer if include itself would support a scope-mechanic. -- https://bugs.ruby-lang.org/