General

Profile

matthewd (Matthew Draper)

Issues

Activity

10/25/2017

10:01 AM Ruby trunk Feature #14045: Lazy Proc allocation for block parameters
This is excellent news indeed!
Do you think a similar technique could work for passing along `*args` in the future...

05/25/2017

05:43 PM Ruby trunk Bug #13574: Method redefinition warning
> What do you mean?
> That remove_method + new definition is not atomic?
Yes. Using remove_method + define_method...

05/19/2017

12:25 AM Ruby trunk Bug #13574: Method redefinition warning
As there's no other way to silence the redefinition warning (apart from removing the method first, which isn't atomic...

05/14/2017

08:05 PM Ruby trunk Feature #13563: Implement Hash#choice method.
FWIW, ActiveSupport calls this `Hash#slice` -- http://api.rubyonrails.org/classes/Hash.html#method-i-slice
(With o...

04/06/2017

07:30 AM Ruby trunk Bug #13405: IO#close raises "stream closed"
matthewd (Matthew Draper) wrote:
> IO#close is supposed to ignore an IOError indicating the stream is already closed...

04/05/2017

07:35 PM Ruby trunk Bug #13405 (Closed): IO#close raises "stream closed"

IO#close is supposed to ignore an IOError indicating the stream is already closed.
Since #10153, however, it can...
06:26 PM Ruby trunk Bug #13239: Bug with "special exceptions" when they are thrown in context of a rescue clause.
Should this be closed for backporting?

11/19/2016

11:09 PM Ruby trunk Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
Robert A. Heiler wrote:
> The terminology is a bit peculiar - friendly modules? Do we have unfriendly modules as wel...
01:18 PM Ruby trunk Feature #12962: Feature Proposal: Extend 'protected' to support module friendship
Draft implementation:
```diff
diff --git a/include/ruby/intern.h b/include/ruby/intern.h
index 8776a59..fa5b1dc ...
01:15 PM Ruby trunk Feature #12962 (Open): Feature Proposal: Extend 'protected' to support module friendship
When working on a larger library, with many classes that have both official API methods and internal supporting metho...

Also available in: Atom